source: trunk/Utilities/LogicalProcessorInformation/Application.cpp @ 506

Last change on this file since 506 was 506, checked in by roman, 9 years ago
File size: 874 bytes
Line 
1////////////////////////////////////////////////////////////
2// Copyright (C) Alax.Info, 2006-2015
3// http://alax.info
4//
5// A permission to use the source code is granted as long as reference to
6// source website http://alax.info is retained.
7//
8// Created by Roman Ryltsov roman@alax.info
9
10#include "stdafx.h"
11#include <atlframe.h>
12#include <atlctrls.h>
13#include <atldlgs.h>
14#include "resource.h"
15#include "MainDialog.h"
16
17CAppModule _Module;
18
19INT WINAPI _tWinMain(HINSTANCE hInstance, HINSTANCE, LPTSTR, INT)
20{
21        //AtlTraceLoadSettings(NULL);
22        ATLVERIFY(SUCCEEDED(CoInitialize(NULL)));
23        DefWindowProc(NULL, 0, 0, 0);
24        AtlInitCommonControls(ICC_BAR_CLASSES); // add flags to support other controls
25        ATLVERIFY(SUCCEEDED(_Module.Init(NULL, hInstance)));
26        CMainDialog Dialog;
27        Dialog.DoModal();
28        _Module.Term();
29        CoUninitialize();
30        return 0;
31}
Note: See TracBrowser for help on using the repository browser.