开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜