Skip to content

Commit 1ccc70a

Browse files
committed
no message
1 parent eec5bea commit 1ccc70a

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

TestCode.cpp

+6-3
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,19 @@ int main()
1111

1212
LoadLibrary(_T("C:\\Users\\iiqone\\Desktop\\123.dll"));
1313

14+
HMODULE hHideBase = GetModuleHandle(_T("123.dll"));
15+
1416
XHideDll::PrintModuleList();
1517

16-
XHideDll::HideInLoadOrderLinks(GetModuleHandle(_T("123.dll")));
18+
XHideDll::HideInLoadOrderLinks(hHideBase);
1719

18-
XHideDll::HideInMemoryOrderLinks(GetModuleHandle(_T("123.dll")));
20+
XHideDll::HideInMemoryOrderLinks(hHideBase);
1921

20-
XHideDll::HideInInitializationOrderLinks(GetModuleHandle(_T("123.dll")));
22+
XHideDll::HideInInitializationOrderLinks(hHideBase);
2123

2224
XHideDll::PrintModuleList();
2325

26+
2427
return 0;
2528
}
2629

0 commit comments

Comments
 (0)