source: trunk/Utilities/OneShotSampleGrabber/Application.cpp

Last change on this file was 415, checked in by roman, 9 years ago
File size: 718 bytes
RevLine 
[415]1////////////////////////////////////////////////////////////
2// Copyright (C) Roman Ryltsov, 2015
3// Created by Roman Ryltsov roman@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#include "stdafx.h"
9//#include "resource.h"
10#include "Module.h"
11
12int _tmain(int argc, _TCHAR* argv[])
13{
14        CModule Module;
15        _ATLTRY
16        {
17                //Module.ParseCommandLineEx(argc, argv);
18                Module.WinMain(SW_SHOWNORMAL);
19        }
20        _ATLCATCH(Exception)
21        {
22                _Z_ATLEXCEPTION(Exception);
23                _tprintf(_T("Fatal Error: 0x%08X\n"), (HRESULT) Exception);
24        }
25        _ATLCATCHALL()
26        {
27                _Z_EXCEPTION();
28                _tprintf(_T("Fatal Error\n"));
29        }
30        return 0;
31}
Note: See TracBrowser for help on using the repository browser.