I am trying to inject my .dll into another process... So I found out that you can just hook the dll and it will map into the other process memory space. Easy enough... but my .dll has no exports to CALLBACK to. Thus I tried to add in Megatron's code about how he hooked the notepad edit area:

http://vbforums.com/showthread.php?t...highlight=hook

it gives me an error saying:

error C2059: syntax error : 'string'

It points to the opening line of the code:

extern "C" __declspec(dllexport) LRESULT CALLBACK GetMsgProc(INT nCode,
WPARAM wParam,LPARAM lParam)


I see no strings and I even tried adding string.h...no dice. anyone?