This sample shows building minimal DLL and calling its function from EXE program. It serves for demonstration of implicit linking. In simple terms, you call DLL's functions just as regular functions, but additionally you make some preparations. First, on DLL-side, you begin with Win32 Dynamic-Link Library Project and make declarations and definitions of a functions just as in regular EXE-program. Then, you add __delspec(dllexport) defore function definition to enable this function to be called from regular program. Second, on calling application side, you must reference LIB-file in Project Settings (such as f:\vcc\dll\release\dll.lib) and place DLL-file in calling application directory so that calling program could find it. Note, that use of __delspec(dllimport) is optional, but it "causes compiler to generate more efficient code". Since LIB-file is linked statically, you call any exported DLL function as any function in the program. NOTE: Implicit linking of DLL is identical to static linking of LIB file. DLL can be implicitly (statically) linked to EXE program, but as far as you choose static linling it is more efficient to start with Win32 Static Library Project. By doing so, you have only one distributable file (LIB-file).