|
|
1.1 root 1: Sample: Simple DLL Demonstration
2:
3: Summary:
4:
5: The SIMPLDLL sample provides a generic DLL template. Also
6: included are two small test applications, LINKTEST and
7: LOADTEST, which demonstrate load-time linking (to a DLL
8: import library) and dynamic loading, respectively.
9:
10: More Information:
11:
12: THE_DLL contains a skeleton DLL (dynamic-linked library)
13: entry point and five exported functions with varying
14: parameter lists. A resource file (containing a dialog box
15: template) is also used.
16:
17: LINKTEST is a small application that links with the
18: THE_DLL's import library, and allows the user to make calls
19: into THE_DLL (via menu item selections).
20:
21: LOADTEST is a small application that loads THE_DLL at run
22: time and calls the GetProcAddress function to retrieve the
23: addresses of THE_DLL's exported functions. Again, the user
24: is allowed to make calls into THE_DLL.
25:
1.1.1.2 ! root 26: Additional reference words:
1.1 root 27:
1.1.1.2 ! root 28: GetModuleFileName, LoadLibrary, GetProcAddress
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.