EnumWindows shows how to enumerate top-level windows
Enumerating Applications describes enumerating processes
PostThreadMessage to Console Application
Using Rundll32 to Execute a DLL
Sample _beginthreadex (sample multithreading for Windows)
Sending a Message Like Net Send
Setup: links to a few articles that might help writing a simple setup program
ADO: just a couple of paragraphs that might help finding samples and such for ADO
See my Visual C++ Programmer Stuff page for more C++ stuff.