
Debugging a DLL using a VB program
I have a DLL written in C++. One of my exported functions called Process
returns a float (defined as FLOAT_32). My problem is that when the DLL is
compiled in release mode, it works fine and the value returned by C++
matches what the VB container program sees. When the DLL is compiled in
debug mode (using the debug multithreaded run time library) the value
returned by C++ (which is typically 0 to indicate there have been no errors)
is seen by VB as something completely different.
Can anyone explain why this might be the case.
I'm using Visual Studio 6 with the October 2001 of the MSDN on an XP
machine.
Stephen
<><