Binary code sharing

Original link: http://www.cnblogs.com/binterminator/articles/1622257.html

Windows binary level using DLLs to share code. It is also essential Windows programs running - reusing kernel32.dll, user32.dll and so on. However, DLLs are written for C interface, they can only be understood by C or C calling conventions of language use. By the programming language to be responsible for sharing code instead of the DLLs itself. In this case the use of DLLs is limited.
MFC introduced another binary sharing mechanism MFC extension DLLs. But its use is still limited - only be used in MFC program.

COM also provides formation

http://www.vckbase.com/document/viewdoc/?id=212

Reproduced in: https: //www.cnblogs.com/binterminator/articles/1622257.html

Guess you like

Origin blog.csdn.net/weixin_30906185/article/details/94805642