Linking a DLL (adapted from MSDN)
来源:互联网 发布:淘宝上显示新品怎么弄 编辑:程序博客网 时间:2024/06/05 20:14
Link an Executable to a DLL@import url(MS-ITS:dsmsdn.chm::/html/msdn_ie4.css);
An executable file links to (or loads) a DLL in one of two ways:
- Implicit linking
- Explicit linking
Note Implicit linking is sometimes referred to as static load or load-time dynamic linking. Explicit linking is sometimes referred to as dynamic load or run-time dynamic linking.
With implicit linking, the executable using the DLL links to an import library (.LIB file) provided by the maker of the DLL. The operating system loads the DLL when the executable using it is loaded. The client executable calls the DLL’s exported functions just as if the functions were contained within the executable.
With explicit linking, the executable using the DLL must make function calls to explicitly load and unload the DLL, and to access the DLL’s exported functions. The client executable must call the exported functions through a function pointer.
An executable can use the same DLL with either linking method. Furthermore, these mechanisms are not mutually exclusive, as one executable can implicitly link to a DLL and another can attach to it explicitly.
- Linking a DLL (adapted from MSDN)
- 学习Dll(五)--example from MSDN
- Adding Multiple Views to a Single Document(From MSDN)
- HowTo: Export C++ classes from a DLL
- HowTo: Export C++ classes from a DLL
- HowTo: Export C++ classes from a DLL
- Exporting C++ classes from a DLL
- Export from a DLL Using __declspec(dllexport)
- Linker & Linking (a detail introduction)
- Linker & Linking (a detail introduction)
- 创建线程(From MSDN)
- hashtable example from MSDN
- dynamic_cast Operator from MSDN
- String.Format from MSDN
- enum zz from msdn
- !!!Constant Expression (From MSDN)
- Explicitly Linking to Classes in DLL's
- Calling a Button Event from a Compiled DLL
- MySQL中的bit类型知道多少呢?(转)
- MiniUtilityFramework(一):框架概述
- VC中屏蔽F1
- Netstat命令详解
- wap游戏的一些理解
- Linking a DLL (adapted from MSDN)
- 漂浮,鼠标拖动,自动变图,手动变图———史上最牛的四合一广告图片
- C# 实现鼠标选择矩形截图
- 几个小问题
- MiniUtilityFramework(二):第一个程序
- 2009-03-04读书记录:《网页制作与PHP语言应用》第六章——MySQL基本操作
- javascript 操作剪切板 ie firefox 兼容
- Nbtstat命令详解
- https客户端的实现(libcurl)