Hello!
I have a PACKED structure defined on 16 bytes and an array of unsigned char. It would be something like this:
#define ulong unsigned long
typedef struct partition{
ulong active:8;
CSH F;
ulong sysID:8;
CSH L;
ulong start;
ulong size;
}__attribute__((__packed__))partitie;
typedef...
I created a Win 32 Dynamic-Link Library and set up a DLL file.
The problem appers when i try to declare variables like:
CSTRING var1;
HINSTANCE hinstDLL;
and others...
Does anyone have a solution please?
Thank you!
I'm trying to install a global hook. If i issue this command :
hHook = SetWindowsHookEx(WH_KEYBOARD, MouseProc, 0,GetCurrentThreadId());
it works fine, but, of course, this isn't a global hook, it's only a local one. Now, this should be a global hook:
hHook = SetWindowsHookEx(WH_KEYBOARD...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.