1 |
// ***** BEGIN LICENSE BLOCK *****
|
2 |
// * Version: MPL 1.1
|
3 |
// *
|
4 |
// * The contents of this file are subject to the Mozilla Public License Version
|
5 |
// * 1.1 (the "License"); you may not use this file except in compliance with
|
6 |
// * the License. You may obtain a copy of the License at
|
7 |
// * http://www.mozilla.org/MPL/
|
8 |
// *
|
9 |
// * Software distributed under the License is distributed on an "AS IS" basis,
|
10 |
// * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
11 |
// * for the specific language governing rights and limitations under the
|
12 |
// * License.
|
13 |
// *
|
14 |
// * The Original Code is TurboPower SysTools
|
15 |
// *
|
16 |
// * The Initial Developer of the Original Code is
|
17 |
// * TurboPower Software
|
18 |
// *
|
19 |
// * Portions created by the Initial Developer are Copyright (C) 1996-2002
|
20 |
// * the Initial Developer. All Rights Reserved.
|
21 |
// *
|
22 |
// * Contributor(s):
|
23 |
// *
|
24 |
// * ***** END LICENSE BLOCK *****
|
25 |
//---------------------------------------------------------------------------
|
26 |
#include <vcl.h>
|
27 |
#pragma hdrstop
|
28 |
USERES("DbExport.res");
|
29 |
USEFORM("dbexprt0.cpp", Form1);
|
30 |
//---------------------------------------------------------------------------
|
31 |
WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
|
32 |
{
|
33 |
try
|
34 |
{
|
35 |
Application->Initialize();
|
36 |
Application->CreateForm(__classid(TForm1), &Form1);
|
37 |
Application->Run();
|
38 |
}
|
39 |
catch (Exception &exception)
|
40 |
{
|
41 |
Application->ShowException(&exception);
|
42 |
}
|
43 |
return 0;
|
44 |
}
|
45 |
//---------------------------------------------------------------------------
|