Board index » cppbuilder » Floating point exception error with third party DLL
mulai
![]() CBuilder Developer |
Sat, 10 Dec 2005 23:03:19 GMT
Floating point exception error with third party DLL
Hi I have a weird situation occuring and I'm not sure how to debug it.
I have a third party dll that is called from within a Com dll. Both dll's are from the same company. I also have created a VC++ dll that makes calls to this com object and two executables one in VC++ 7 and one in Borland C++ Builder 5. Both executables call the same function in my created dll. The function in my dll makes a single call to a function in the COM dll. The problem is that the VC++ 7 works fine(I have a button on a dilog where I can make multiple calls to the function). I do the same for the borland executable but the call always fails on the first call. Subsequent calls after that operate noramlly. I even make the same function call(to the com dll) on my dll's initInstance() function (and no errors are generated here). I even tried modified the WinMAin function int he borland C++ app as I calso hecked the modules debug window from both C++ Builder and WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int) Quote} |