Skip to main content

Posts

Showing posts with the label Dll

Creating Simple Dll

This post is a tutorial for creating a simple dll in C++. So lets get started,  Create new project " SimpleDll " in Visual C++. If you are using Visual C++ 6.0 then select Dynamic Link Library Project and if you are using 2005 then select Win32 Project and select Dll and Empty Project in Additional options. After this add new header file " simpledll.h " to our project and add following code in header file . // SimpleDll.h #ifndef _SIMPLEDLL_H_ #define _SIMPLEDLL_H_ #include // this is the function which we will export VOID ShowMessage(WCHAR msg); #endif