Rev | Line | |
---|
[288] | 1 | //////////////////////////////////////////////////////////// |
---|
[361] | 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 |
---|
[288] | 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 | |
---|
| 17 | CAppModule _Module; |
---|
| 18 | |
---|
| 19 | INT WINAPI _tWinMain(HINSTANCE hInstance, HINSTANCE, LPTSTR, INT) |
---|
| 20 | { |
---|
| 21 | ATLVERIFY(SUCCEEDED(CoInitialize(NULL))); |
---|
| 22 | DefWindowProc(NULL, 0, 0, 0); |
---|
| 23 | AtlInitCommonControls(ICC_BAR_CLASSES); // add flags to support other controls |
---|
| 24 | ATLVERIFY(SUCCEEDED(_Module.Init(NULL, hInstance))); |
---|
| 25 | CMainDialog Dialog; |
---|
| 26 | Dialog.DoModal(); |
---|
| 27 | _Module.Term(); |
---|
| 28 | CoUninitialize(); |
---|
| 29 | return 0; |
---|
| 30 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.