#include <kernwin.hpp> // For askfile_cv() #include <loader.hpp> // Prompt the user for a file to open. char *file = askfile_cv(0, "", "DLL file..", NULL); // Load it into the IDB using the PE loader module int res = load_loader_module(NULL, "pe", file, false) if (res < 1) msg("Failed to load %s as a PE file.\n", file);