Test the Win32 DLL
To test your DLL, you must have an application that uses the exported classes or calls the exported functions. for suggestions on managing the project workspace for the calling application and the DLL.
To debug a DLL, you must specify the application that calls your DLL by clicking the Settings command on the Project menu. In the Project Settings dialog box, click the Debug tab. In the Executable for debug session box, specify which application to run while debugging.