|
|
@ -3,7 +3,15 @@ extern "C" int MessageBoxA(void* hWnd,
|
|
|
|
char* lpCaption,
|
|
|
|
char* lpCaption,
|
|
|
|
void* uType);
|
|
|
|
void* uType);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct test_t {
|
|
|
|
|
|
|
|
char buff[0x2000];
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
test_t t = {};
|
|
|
|
|
|
|
|
|
|
|
|
extern "C" void EntryPoint() {
|
|
|
|
extern "C" void EntryPoint() {
|
|
|
|
|
|
|
|
t.buff[0] = 1;
|
|
|
|
|
|
|
|
t.buff[1] = 2;
|
|
|
|
MessageBoxA(nullptr, "Hello World", "Hello World", nullptr);
|
|
|
|
MessageBoxA(nullptr, "Hello World", "Hello World", nullptr);
|
|
|
|
MessageBoxA(nullptr, "Hello World 1", "Hello World 1", nullptr);
|
|
|
|
MessageBoxA(nullptr, "Hello World 1", "Hello World 1", nullptr);
|
|
|
|
}
|
|
|
|
}
|