Win32 api calls
Hey, can you reccomend a good book or tutorial for a complete newb on the subject? I would like to call win32 api calls such as findwindowex and SendMessage, etc. But I don't know anything about it, and would like to do it in C# or vb .net(not vb6) thanks.
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Bechir BejaouiRank #144 · 15.9K reputationPosted Dec 6, 2008, 12:06 AM EST
AlanRank #669 · 3.6K reputationPosted Dec 6, 2008, 3:35 AM EST
To supplement the article which Bechir found, here are a couple more articles which are particularly good for developers who have no previous experience of calling Win32 functions from C#:
http://msdn.microsoft.com/en-gb/magazine/cc164123.aspx
http://msdn.microsoft.com/en-us/magazine/cc163910.aspx
Also the following is a great site for looking up the C# or VB.Net signatures of Win32 functions and (if you're lucky) finding examples of usage:
http://www.pinvoke.net/
Bechir BejaouiRank #144 · 15.9K reputationPosted Dec 7, 2008, 12:11 PM EST