
A very strange runtime error - only happens inside VB4 debugger , not with .exe
Hi,
If I run my program inside VB4.0 (32 bit) de{*filter*}, I will get the runtime
error (49) "bad DLL calling convention" when it calls a DLL I created with
VC++ 4.0. But if I run exe of this program, everything works, my DLL
returns proper value. This one really got me.
(The DLL I wrote is a regular MFC DLL, not the extention DLL. I even did
one DLL with .c and no MFC at all, the result still the same.)
Anybody has any idea?
Thanks in advance.
Yuan Pan