Even more learning (continued from yesterday): you don't need to pass any arguments to WinMain. So, you don't need to include windows.h and #undef GetObject if you're not going to call any Win32 functions. So it looks like all you have to do to those WinForms samples is change the entry point from main() to WinMain() (although I won't bet on it until I've tried it on the samples which I won't have time to do tonight).
Once I do that, I'll report back (along with anything else interesting that I've discovered).
11:55:35 PM
|