As we know, WinMain() function in MFC application is prepared by MFC itself and linked into the code automatically. This implies, that even we only want to use DAO/WinSock object, a CWinApp class instance is required. Such constraint is very inconvenient for us because we don't want to use the whole MFC framework (we just want to make use of DAO...).
I think it's common problem for MFC programmers. Thus, could anyone give me your experience about "HOW TO REPLACE MFC'S WinMain() WITH YOUR OWN ONE"?