DLLuser: DLL User Application Skeleton

Click to open or copy the DLLuser project files.

Click to open or copy the Include files (required).

Click to open or copy the Library files (required).

Note   To use this sample, you must first build the DLLskel sample.

The DLLuser sample introduces the basic skeleton for an EXE that implicitly loads a Win32® DLL and makes calls to it. In this case, DLLuser works with DLLskel.dll from the DLLskel lesson. You must build DLLskel before you try to build DLLuser.exe, because the DLLskel makefile copies the necessary DLLskel.h, DLLskel.lib, and DLLskel.dll files it produces into the DLLuser sibling directory.

See the parent topic, COM Tutorial Samples, to download global tutorial files or any HTML files about this sample.

Building SDK Samples

This sample uses the following keywords:

cmainwindow; coinitialize; couninitialize; create; defined; defwindowproc; delete_pointer; dispatchmessage; dllaboutbox; dllhellobox; domenu; errorbox; getdc; gethwnd; getlasterror; getmessage; getsystemmetrics; gettextmetrics; getusername; initapplication; initinstance; loadaccelerators; loadcursor; loadicon; loadimage; loadstringa; makefamilypath; makeintresource; messageboxa; postmessage; postquitmessage; readhelp; readsource; readtutorial; registerclassex; releasedc; showdialog; showwindow; style; succeeded; text; translateaccelerator; translatemessage; unicodeok; updatewindow; windowproc; winmain