OK, I was able to accidentally solve the problem on my own. To tell the truth, I get a little bit absent minded about these fixes, so I'm going to record this fix here in case it comes up again:
1) When you discover what libraries you need, put their headers at the beginning of the program.
2)Set the parameters:
;)In General, make sure the Microsoft Foundation Classes has
the appropriate entry. In my case, it was "Use MFC in a
;)In Object/Library Modules, list the libraries. In may case,
they were: user32.lib gdi32.lib .
That got rid of 98% of my compile problems. I am still having problems with:
MSVCRTD.lib(crtexe.obj):error LNK2001: unresolved external symbol _main
However, I got rid of most of the problems. I'll be researching this problem next.I may post on this later.