开发者

Different ways of loading DLL into MFC?

What 开发者_Python百科are the different ways to load a win32 or MFC DLL into an MFC application?

I know there are 2 ways to link a DLL. 1.) Include the lib file created with the DLL 2.) Using .def file and LoadLibrary function. Is there any other ways to link the DLL?

Regards, AH


This can be done dynamically or statically depending on your requirement.

This link gives you enough information.

http://www.codeguru.com/cpp/cpp/cpp_mfc/tutorials/article.php/c9855


No, there are no other ways. It's either static or dynamic. Also, you don't need a .def file for LoadLibrary.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜