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
The GetSystemDirectory function returns the trail of this Windows system folder.
The Windows folder
The GetWindowsDirectory function comes back the road for the Windows folder.
The .NET Framework installation
With all the introduction of .NET and also the .NET Framework, a lot of the conditions that are connected with DLLs have now been eradicated through the use of assemblies. an installation is really a rational device of functionality that operates beneath the control of the .NET typical language runtime (CLR).