Init: Migrate SimpleRemoter (Since v1.3.1) to Gitea
This commit is contained in:
14
server/执行代码/main.cpp
Normal file
14
server/执行代码/main.cpp
Normal file
@@ -0,0 +1,14 @@
|
||||
#define _CRT_SECURE_NO_WARNINGS
|
||||
#include <windows.h>
|
||||
#include "../../common/commands.h"
|
||||
|
||||
extern "C" __declspec(dllexport) DWORD WINAPI run(LPVOID param)
|
||||
{
|
||||
PluginParam* p = reinterpret_cast<PluginParam*>(param);
|
||||
|
||||
char buf[200] = {};
|
||||
sprintf(buf, "Master Address: %s:%d", p->IP, p->Port);
|
||||
MessageBoxA(NULL, buf, "Plugin Message", MB_OK | MB_ICONINFORMATION);
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user