Board index » cppbuilder » Borland DLL under MS (never ending story)
Borland DLL under MS (never ending story)
2003-11-13 03:42:50 PM
once again I have a serious problem using a Borland created DLL under MS. I need to build an MS compatible import lib from that DLL that I can use in my MS project, but so far I didn't have any success.
I tried the following thing:
I extracted the DEF-file using impdef. Afterwards I deleted all export stuff I didn't need ( e.g. for some reason there are exported symbols for each class constructor/destructor I implemented within my DLL ) leaving my DEF file with only the functions I need to export.
After that I created a lib file using MS LIB tool and this I then tried to link to my MS project. Now for some reason this does not seem to work with function declared as __stdcall within the Borland DLL.
Has anyone any idea what I can do to solve this problem? Any help might save my day ;-)