7 HMODULE libBasePtr = LoadLibraryA(lib_name);
8 if (libBasePtr == NULL) {
9 std::cerr <<
"Could not load the library!" << std::endl;
12 FARPROC hProc = GetProcAddress(libBasePtr, func_name);
14 std::cerr <<
"Could not load the function!" << std::endl;
virtual FARPROC resolve_func(LPSTR lib_name, LPSTR func_name)
Definitions of basic Imports Resolver classes. They can be used for filling imports when the PE is lo...