forked from wyyqyl/HideModule
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTest.cpp
More file actions
28 lines (26 loc) · 697 Bytes
/
Copy pathTest.cpp
File metadata and controls
28 lines (26 loc) · 697 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
Copyright [2013] Yorath
Test.cpp : Defines the entry point for the console application.
*/
#include "stdafx.h"
#include <Windows.h>
#include "../HideModule/dllmain.h"
int main()
{
HMODULE hModule = LoadLibrary(TEXT("HideModule.dll"));
if (!hModule) {
printf_s("Failed to load HideModule.dll");
return -1;
}
LoadLibrary(TEXT("HideModule.dll"));
LoadLibrary(TEXT("HideModule.dll"));
LoadLibrary(TEXT("HideModule.dll"));
//FreeLibrary(hModule);
//Test(hModule);
//HMODULE hModule = GetModuleHandle(TEXT("HideModule.dll"));
while (true) {
printf_s("The program is running...\n");
Sleep(10000);
}
return 0;
}