source: trunk/Utilities/UpnpScanner/UpnpScanner.cpp @ 937

Last change on this file since 937 was 168, checked in by roman, 9 years ago
File size: 827 bytes
Line 
1////////////////////////////////////////////////////////////
2// UpnpScanner.cpp -
3//
4// Copyright (C) Alax.Info, 2006-2009
5// http://alax.info
6//
7// A permission to use the source code is granted as long as reference to
8// source website http://alax.info is retained.
9
10#include "stdafx.h"
11#include "resource.h"
12#include "MainDialog.h"
13
14CAppModule _Module;
15
16INT WINAPI _tWinMain(HINSTANCE hInstance, HINSTANCE, LPTSTR, INT)
17{
18        CSingleThreadedApartment Apartment;
19        DefWindowProc(NULL, 0, 0, 0L);
20        AtlInitCommonControls(ICC_WIN95_CLASSES);
21        _V(_Module.Init(NULL, hInstance));
22        CExceptionFilter::Initialize();
23        {
24#if defined(_DEBUG)
25                AtlTraceLoadSettings(NULL);
26#endif // defined(_DEBUG)
27                CMainDialog Dialog;
28                Dialog.DoModal();
29        }
30        CExceptionFilter::Terminate();
31        _Module.Term();
32        return 0;
33}
Note: See TracBrowser for help on using the repository browser.