typedef void (*load_ufusr_f_p_t)(int, bool, bool);
load_ufusr_f_p_t SetFilterIdx;
char ugPath[256] = { 0 };
GetModuleFileNameA(0, ugPath, 256); //D:\NX1926\nxbin\ugraf.exe
string ugPathStr = string(ugPath);
string libuguiPath = ugPathStr.substr(0, ugPathStr.find_last_of("\\"));
libuguiPath += "\\libugui.dll";
UF_load_library(libuguiPath.c_str( ), "?SEL_set_type_filter_index@@YAXH_N0@Z", (UF_load_f_p_t*)& SetFilterIdx);
2222222222
最新推荐文章于 2024-12-26 15:03:20 发布