|
// AtlProject.cpp : Implementation of WinMain
#include "stdafx.h"
#include "resource.h"
#include "AtlProject_i.h"
#include "dlldatax.h"
#include "CMainDlg.h"
class CAtlProjectModule : public CAtlExeModuleT< CAtlProjectModule >
{
public :
DECLARE_LIBID(LIBID_AtlProjectLib)
DECLARE_REGISTRY_APPID_RESOURCEID(IDR_ATLPROJECT, "{714416FB-27C5-401B-8B16-A9A97391DF5E}")
};
CAtlProjectModule _AtlModule;
//
extern "C" int WINAPI _tWinMain(HINSTANCE /*hInstance*/, HINSTANCE /*hPrevInstance*/,
LPTSTR /*lpCmdLine*/, int nShowCmd)
{
CCMainDlg Dlg;
Dlg.DoModal();
return _AtlModule.WinMain(nShowCmd);
}
|
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.