Article ID: 133070
Article Last Modified on 7/5/2005
#ifdef __cplusplus extern "C" #endif
/* Compile options needed: None
The following program reproduces the behavior if the source
file has .C extension
*/
#include <windows.h>
extern "C" _declspec(dllexport) BOOL WINAPI function1(void);
BOOL WINAPI DllMain ( HINSTANCE hInst, DWORD dwReason,
LPVOID lpReserved)
{
// Other required code goes here.
return TRUE;
}
Additional query words: 9.0 9.00 9.1 9.10
Keywords: kberrmsg kblangcpp kbprb KB133070