OLE server
chanda3@h27hkgp2.oocl.com Thursday, July 11, 1996 Environment: VC++ 4.0 / Win 95/NT Hi, I'm writing an OLE server DLL using MFC and want to have some constants defined inside it, just as what you see with VB object browser (constantXXX=8 sthg like that). My question is how can I do that with MFC as the class clz only provides ways of adding methods & property? thanks for your time.
Vilas Patil -- vilasp@rpsadf.atlantaga.ncr.com Wednesday, July 17, 1996 Hi: You should include following in your ODL file module Constants { const short SomeConstant = 5; } Note that the name & values are for example. Rebuild the MakeLibrary, and thats all. Vilas ---------- From: owner-mfc-l To: mfc-l Subject: OLE server Date: Thursday, July 11, 1996 2:48PM Environment: VC++ 4.0 / Win 95/NT Hi, I'm writing an OLE server DLL using MFC and want to have some constants defined inside it, just as what you see with VB object browser (constantXXX=8 sthg like that). My question is how can I do that with MFC as the class clz only provides ways of adding methods & property? thanks for your time.
| Вернуться в корень Архива |