Self-Extracting Executable C++
问题 I am trying to understand how self-extracting PE files work. Can somebody explain why my code isn't working, or fix the main() part. #include <iostream> #include <Windows.h> using namespace std; void ExtractResource(const HINSTANCE hInstance, WORD resourceID, const char* outputFilename); int main() { HINSTANCE hInst = GetModuleHandle (0); ExtractResource(hInst, 101, "101.dll"); ExtractResource(hInst, 102, "102.dll"); ExtractResource(hInst, 103, "103.dll"); ExtractResource(hInst, 104, "104.dll