Board index » cppbuilder » dll error from call in Borland app but not Visual C++.NET app
Chilang
![]() CBuilder Developer |
Sat, 10 Dec 2005 23:46:57 GMT
dll error from call in Borland app but not Visual C++.NET appHi 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 to my dll always fails on only 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). Here is a sequence of steps to clarify the above Borland app I calso hecked the modules debug window from both C++ Builder and Visual C++ and the proper dll's get loaded in the same order for both applications! I have absolutely no idea where to go from here. Any suggestions woudl be greatly appreciated!! I would just switch to VC++ for both the GUI and dll but I have already built the gui using borland C++ Builder. |