My intent here is to provide simple samples that are easier to understand than the complete-working-program samples that are typical of the MSDN, but I have put a variety of other stuff here too. Most of the material here uses C++ and Windows but there is some Windows application stuff too. I do prefer to keep things simple and that can be especially helpful for samples. Please do not call this site Simple Sam's Samples, however.
This web site is the result of my assistance in the CodeGuru Visual C++ Programming forum, the microsoft.public.vc.mfc newsgroup, and other such places. In the beginning, I began saving answers for later use, because questions are often asked more than once. When I had a few, I put them in my personal web site. Those web pages grew and developed into this site.
I have submitted two articles to the CodeGuru web site. They are a sample Simple BMP Viewer and Processing Keyboard Messages; both use MFC.
| Beginners | Development Software |
| MFC | Visual Basic |
| Windows | Scripts |
| C++ | Miscellaneous |
| Network Programming |
I have set up a couple of email addresses; use whichever one of the following (except not "NoSpam") that seems appropriate, followed by "@SimpleSamples.Info". Except don't use NoSpam; I have it in the list because somehow an email address I had here got added to a spam list; I don't know why that address did and not the other address.
To do a hostname or an IP address lookup (much more than most whois pages) use:

To get a preview of your email before receiving it by your regular email reader (such as Outlook Express) use Magic Mail Monitor.