-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.cpp
More file actions
38 lines (34 loc) · 723 Bytes
/
Copy pathmain.cpp
File metadata and controls
38 lines (34 loc) · 723 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/*
* This software is a part to the amonsoft solution
*
* Copyright Amon & Sesam Micro
* Developper contact pascal.bart@sesam-micro.Fr
*
* $Id: main.cpp,v 1.23 2006/10/12 21:19:33 pascal Exp $
*/
#include <windows.h>
#include "main.h"
extern int WriteMiniDump( LPEXCEPTION_POINTERS );
/*
* Main function
* Entry point
*/
int main( int argc, char **argv )
{
CApp app( argc, argv );
__try
{
app.runApp();
}
__except( WriteMiniDump( GetExceptionInformation() ) )
{
__try
{
qDebug( "Sauvegarde des fichiers de données" );
app.saveXercesData();
}
__except( EXCEPTION_EXECUTE_HANDLER )
{ qDebug("*Sauvegarde Impossible*" ); }
}
return 0;
}