#ifndef __DYNAMICLIB_WINDOWS_H_ #define __DYNAMICLIB_WINDOWS_H_ #include #ifdef ICSNEOC_MAKEDLL #define DLLExport __declspec(dllexport) #define LegacyDLLExport _stdcall #else #define DLLExport __declspec(dllimport) #endif // MSVC does not have the ability to specify a destructor #define ICSNEO_DESTRUCTOR #define icsneo_dynamicLibraryLoad() LoadLibrary(TEXT("icsneoc.dll")) #define icsneo_dynamicLibraryGetFunction(handle, func) GetProcAddress((HMODULE) handle, func) #define icsneo_dynamicLibraryClose(handle) FreeLibrary((HMODULE) handle) #endif