why we must decalare the Hook API function in a DLL file? Is this possible declare the Hook API in an exe file?
i always see someone declare the following function in the hook dll file, exactly what is this?
HHOOK g_hHkKeyboard = NULL;
#pragma comment(linker, "/section:.hello,rws")
evenif i don't declare the #pragma data_seg(), my program also can call the Hook API.