I have installed VC++ 2005 Express and the Platform SDK according to the instructions on MSDN:
http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/default.aspx
Compiling and running the following program on the dev computer works like a charm:
http://www.winprog.org/tutorial/simple_window.html
I then changed to release-mode, turned off debugging in the project properties and copied the .exe to another computer without VC++ 2005 Express on. I pretty much expected problems, so I wasn't very surprised when I got the error message saying that there was something wrong with the program configuration, like the one here:
http://forums.microsoft.com/msdn/showpost.aspx postid=23371&siteid=1
I have since then combed this forum and eventually found a number of different posts containing instructions how to deploy correctly, examples of these are:
http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=54317&SiteID=1
http://forums.microsoft.com/msdn/showpost.aspx postid=75707&siteid=1
http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=156255&SiteID=1
I have also read about "Redistributing Visual C++ Files" on msdn:
http://msdn2.microsoft.com/en-us/library/ms235299.aspx
None(!) of these seems to do it for me, I suspect that this is mostly because the above examples does not deal with the Express-version, but I'm not sure.
For someone pretty new to the VS-environment it is a nightmare, so far, to find out how to go about to deploy the applications correctly.
Therefore, I would deeply appreciate it if someone could give a straight-up and complete guide on how to get this application (see the beginning of this post) to run on another computer (the one I have is running WinXP SP2, but if there's any difference in the approach when it's supposed to run on Win98-Win2K then please explain that as well). I know this is a lot to ask, but you will have my eternal thanks :).