Quote Originally Posted by VictorN View Post
Please, use CODE tags around code snippets. Otherwise you code is absolutely unreadable! See Announcement: Before you post....
How and where from do you call the StartInfoThread function?
Hi Victor,
Thanks for answering.
I am calling StartInfoThread(exported function) from another application that does the dll injection to that window application.
I also noticed that inside the hook proc function "msghook" the handle of the window inside the dll is NULL.

I am just thinking maybe the handle "hMyWnd" is not declared as it should have been.

Thanks.