summaryrefslogtreecommitdiff
path: root/tools/dbtool/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/dbtool/main.cpp')
-rw-r--r--tools/dbtool/main.cpp32
1 files changed, 32 insertions, 0 deletions
diff --git a/tools/dbtool/main.cpp b/tools/dbtool/main.cpp
new file mode 100644
index 0000000000..014881e34d
--- /dev/null
+++ b/tools/dbtool/main.cpp
@@ -0,0 +1,32 @@
+/*
+Miranda Database Tool
+Copyright (C) 2001-2005 Richard Hughes
+
+This program is free software; you can redistribute it and/or
+modify it under the terms of the GNU General Public License
+as published by the Free Software Foundation; either version 2
+of the License, or (at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+*/
+#include "dbtool.h"
+
+HINSTANCE hInst;
+
+DbToolOptions opts = {0};
+
+int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
+{
+ hInst=hInstance;
+ LoadLangPackModule();
+ InitCommonControls();
+ DialogBox(hInst,MAKEINTRESOURCE(IDD_WIZARD),NULL,WizardDlgProc);
+ return 0;
+}