|
//
// BalloonTest.cpp : main source file for BalloonTest.exe
//
#include "stdafx.h"
#include "maindlg.h"
CAppModule _Module;
//
// _tWinMain
//
int WINAPI _tWinMain(HINSTANCE hInstance, HINSTANCE /*hPrevInstance*/, LPTSTR lpstrCmdLine, int nCmdShow)
{
InitCommonControls();
// this resolves ATL window thunking problem when Microsoft Layer for Unicode (MSLU) is used
::DefWindowProc(NULL, 0, 0, 0L);
HRESULT hRes=_Module.Init(NULL, hInstance);
ATLASSERT(SUCCEEDED(hRes));
int nRet=0;
// BLOCK: Run application
{
CMainDlg dlgMain;
nRet = dlgMain.DoModal();
}
_Module.Term();
return nRet;
}
// eof
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.