|
|
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:
26: The following is a list of the Win32 API functions used in
27: this sample:
28:
29: CreateThread EndDialog GetStockObjec MessageBox
30: t
31: CreateWindow FreeLibrary GetSubMenu PostQuitMessa
32: ge
33: DialogBox GetMenu LoadCursor RegisterClass
34: DispatchMessa GetMessage LoadIcon ShowWindow
35: ge
36: DLLEntryPoint GetModuleFile LoadLibrary TerminateThre
37: Name ad
38: EnableMenuIte GetProcAddres MessageBeep TranslateMess
39: m s age
40:
41:
42:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.