Oh... Is there any way I can show you guys how my project is laid out?
Printable View
Oh... Is there any way I can show you guys how my project is laid out?
What type of project did you create, and seriously, stop messing with the CWinApp class. If the wizard put it there, it put it there for a reason.
Seems we cannot avoid showing some working code... :)
Thank you for the help! I just had to wrap my head around the fact that I just needed to make a dummy Cwinapp variable... However, I forgot about this thread and have essentially done the same thing as before in WinAPI which is a little easier to understand in my opinion.
Yeah, it takes a little more to understand the OOP approach in a framework like MFC or ATL, but the benefit is you don't have to write the same code over and over everytime you create a new app.
Lot's of folks that try to use MFC don't bother to actually spend a little time to learn MFC, so it seems like they are constantly fighting with it.