00001 // micolelib.cpp : Defines the entry point for the DLL application. 00002 // 00003 00004 #include "stdafx.h" 00005 #include "micolelib.h" 00006 00007 00008 #ifdef _MANAGED 00009 #pragma managed(push, off) 00010 #endif 00011 00012 /*BOOL APIENTRY DllMain( HMODULE hModule, 00013 DWORD ul_reason_for_call, 00014 LPVOID lpReserved 00015 ) 00016 { 00017 switch (ul_reason_for_call) 00018 { 00019 case DLL_PROCESS_ATTACH: 00020 case DLL_THREAD_ATTACH: 00021 case DLL_THREAD_DETACH: 00022 case DLL_PROCESS_DETACH: 00023 break; 00024 } 00025 return TRUE; 00026 }*/ 00027 00028 #ifdef _MANAGED 00029 #pragma managed(pop) 00030 #endif 00031 /* 00032 // This is an example of an exported variable 00033 MICOLELIB_API int nmicolelib=0; 00034 00035 // This is an example of an exported function. 00036 MICOLELIB_API int fnmicolelib(void) 00037 { 00038 return 42; 00039 } 00040 00041 // This is the constructor of a class that has been exported. 00042 // see micolelib.h for the class definition 00043 Cmicolelib::Cmicolelib() 00044 { 00045 return; 00046 } 00047 */