Untitled
unknown
plain_text
5 years ago
476 B
5
Indexable
extern "C" {
__declspec(dllexport) int WINAPI some(int argc, char **argv);
}
int WINAPI some(int argc, char **argv) {
using namespace xmrig;
//argv[0] = "E:\\Work\\VS\\LoadDll\\Debug\\LoadDll.exe";
//int argcPass = 1;
Process process(argc, argv);
const Entry::Id entry = Entry::get(process);
if (entry) {
Entry::exec(process, entry);
}
App app(&process);
int x = app.exec();
printf(" %d is x \n", x);
return x;
}
Editor is loading...