DLL学习笔记
2008-09-17 06:59
302 查看
Dynamic-Link Libraries
1. resource(no code)
2. executable
Although a dynamic-link library module can have any extension (such as .EXE or .FON), the standard extension is .DLL. Only dynamic-link libraries with the extension .DLL will be loaded automatically by Windows. If the file has another extension, the program must explicitly load the module by using the LoadLibrary or LoadLibraryEx function.
An object library is a file with the extension .LIB containing code that is added to your program's .EXE file in the process called static linking when you run the linker.
An import library is a special form of an object library file. Like object libraries, import libraries have the extension .LIB and are used by the linker to resolve function calls in your source code. However, import libraries contain no code. Instead, they provide the linker with information necessary to set up relocation tables within the .EXE file for dynamic linking.
Object libraries and import libraries are used only during program development. Dynamic-link libraries are used during run time.
1. resource(no code)
2. executable
Although a dynamic-link library module can have any extension (such as .EXE or .FON), the standard extension is .DLL. Only dynamic-link libraries with the extension .DLL will be loaded automatically by Windows. If the file has another extension, the program must explicitly load the module by using the LoadLibrary or LoadLibraryEx function.
An object library is a file with the extension .LIB containing code that is added to your program's .EXE file in the process called static linking when you run the linker.
An import library is a special form of an object library file. Like object libraries, import libraries have the extension .LIB and are used by the linker to resolve function calls in your source code. However, import libraries contain no code. Instead, they provide the linker with information necessary to set up relocation tables within the .EXE file for dynamic linking.
Object libraries and import libraries are used only during program development. Dynamic-link libraries are used during run time.
相关文章推荐
- DLL学习开发笔记
- 学习笔记---Windows系统DLL文件修改
- Dll(动态链接库)学习笔记(zz)
- OpenCV学习笔记(三十一)——让demo在他人电脑跑起来 OpenCV学习笔记(三十二)——制作静态库的demo,没有dll也能hold住 OpenCV学习笔记(三十三)——用haar特征训练自己
- Win32 DLL动态库学习笔记一
- (学习笔记)C++编写dll C#调用注意事项
- CUBRID学习笔记 14 dll加载错误
- SharePoint学习笔记002:未能加载文件或程序集'Microsoft.SharePoint.Sandbox.dll
- windows下dll编程学习笔记
- 打造DLL内存加载引擎学习笔记
- 我的Dll(动态链接库)学习笔记
- dll学习笔记
- 学习笔记:银江数据源在.net下的使用方法(marshal类在框架下调用非框架dll中的使用)
- Windows编程 C++ DLL编程 学习笔记(一)静态链接库的创建和使用
- Dll(动态链接库)学习笔记
- dev c++ dll 制作与调用学习笔记
- win32 dll学习笔记
- Dll(动态链接库)学习笔记
- 我的Dll(动态链接库)学习笔记
- Dll(动态链接库)学习笔记