
Help porting VC1.52 DLL to VC2.2 DLL
have you looked at the VBDLL.TXT that comes with VB?
The key is that you need to export the functions by name via the .def file
instead of relying on the _declspec(dllexport) keyword. You also have to
ensure that your using the _stdcall calling convention. If your 16bit DLL
used the Pascal macro then your using the _stdcall convention as 32bit
windows defines PASCAL as that. So assuming that all you should need to do
is create a DEF file with an exports section that exports the functions
--
Why isn't there mouse-flavored cat food?
---------------------------------------------------------------------------
---
| Author for Pinnacle Publishing "Visual C++ Developer"
http://www.pinpub.com/ |
| http://lucifer.lotus.com/jim/main.htm
|
---------------------------------------------------------------------------
---