Code: Select all
#include "MQ2Main.h"
DWORD gh;
LRESULT CALLBACK proc( int nCode, WPARAM wParam, LPARAM lParam ){return ::CallNextHookEx( (HHOOK)gh, nCode, wParam, lParam );}
typedef DWORD (__cdecl *FNCB)(DWORD,HINSTANCE,DWORD&);
#undef MQ2AUTH
#define MQ2AUTH(z) VOID z(DWORD x){FNCB f=(FNCB)x;f((DWORD)proc,ghInstance,gh);}
#include "MQ2Auth0.h"or#include "MQ2Auth0.h, MQ2Auth1.h, MQ2Auth2.h"
I am very new to this particular programming language, and trying to teach myself aside from the free information available online. So if you have a spare moment, and able to answer this I'd appreciate it.#include "MQ2Auth0.h"
#include "MQ2Auth1.h"
#include "MQ2Auth2.h"
Forgive my ignorance, it's a learning experience is progress. I'm not looking for all the answers, but maybe a step in the right direction.


