开发者

Load-time linking with C++Builder DLL in VC++

开发者 https://www.devze.com 2023-02-25 07:48 出处:网络
Is it possible to use a C++Builder DLL in a VC++ application using load-time linking? If so, how is this done? I tried to build the VC++ application against my C++Builder .lib file, but got an error i

Is it possible to use a C++Builder DLL in a VC++ application using load-time linking?

If so, how is this done? I tried to build the VC++ application against my C++Builder .lib file, but got an error indicating that VC++ thought the .lib file was corrupt.

Is it possible to generate a VC++-frie开发者_StackOverflow中文版ndly .lib file? Or is there an easier way than this?


We ended up doing it using the "Stubbing Out Functions" method described here: http://support.microsoft.com/kb/131313


Borland/CodeGear/Embarcadero IDEs include an IMPLIB.EXE command-line tool to generate a compatible import .lib file from a .dll file. See if VC++ has a similar tool.

0

精彩评论

暂无评论...
验证码 换一张
取 消