Test DLL and application
In artistic C++ 6.0, you can easily develop a DLL by picking either the Win32 Dynamic-Link Library task kind or even the MFC AppWizard (dll) task kind.
The following rule is a typical example of a DLL which was produced in artistic C++ using the Win32 Dynamic-Link Library task type.
The code that is following a good example of a Win32 Application task that calls the exported DLL function into the SampleDLL DLL.
In load-time dynamic linking, you need to connect the SampleDLL.lib import collection that is produced whenever you develop the SampleDLL task.
In run-time dynamic linking, you employ rule this is certainly just like the after rule to phone the SampleDLL.dll exported DLL function.
Whenever you compile and link the SampleDLL application, the Windows os looks for the SampleDLL DLL when you look at the following locations in this order:
The applying folder
The folder that is current
The Windows system folder