Ok, straight to the point here's the code:
#define UWM_KEYBOARDHOOK_MSG \
_T("UMW_KEYBOARDHOOK-" \
"{B30856F0-D3DD-11d4-A00B-006067718D04}")
UWM_KEYBOARDHOOK = RegisterWindowMessage(UWM_KEYBOARDHOOK_MSG);
I put only 2 lines which makes the error
Compiler output
1>.\DLLMain.cpp(25) : error C3861: '_T': identifier not found
I tried to insert the _T to different places and search internet and it didn't lead to anything, and the code im writing is from http://www.codeproject.com/KB/DLL/hooks.aspx Im just converting the mouse hook to keyboard one.