1、
#ifdef _DEBUG
#pragma comment(lib, "./Libdebug/UTClientD.lib")
#else
#pragma comment(lib, "./Librelease/UTClient.lib")
#endif
2、
static inline HMODULE Understanding_dll()
{
static HMODULE h = LoadLibraryEx((GetMyModuleDir() + L"ImgProc\\16Bit\\understanding.dll").c_str(),
NULL,LOAD_WITH_ALTERED_SEARCH_PATH);
assert(h);
return h;
}
3、
#import "msxml3.dll" //named_guids no_namespace
using namespace MSXML2;