mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
39 lines
1.3 KiB
C++
39 lines
1.3 KiB
C++
|
//---------------------------------------------------------------------------
|
||
|
#include <vcl.h>
|
||
|
#pragma hdrstop
|
||
|
HINSTANCE g_hinst;
|
||
|
USERES("winmysqladmin.res");
|
||
|
USEFORM("main.cpp", Form1);
|
||
|
USEFORM("initsetup.cpp", Form2);
|
||
|
USEFORM("db.cpp", dbfrm);
|
||
|
USELIB("lib\mysqlclient.lib");
|
||
|
USELIB("lib\myisammrg.lib");
|
||
|
USELIB("lib\heap.lib");
|
||
|
USELIB("lib\isam.lib");
|
||
|
USELIB("lib\merge.lib");
|
||
|
USELIB("lib\myisam.lib");
|
||
|
USELIB("lib\mysys.lib");
|
||
|
USELIB("lib\regex.lib");
|
||
|
USELIB("lib\strings.lib");
|
||
|
USELIB("lib\zlib.lib");
|
||
|
//---------------------------------------------------------------------------
|
||
|
WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
|
||
|
{
|
||
|
try
|
||
|
{
|
||
|
Application->Initialize();
|
||
|
Application->HelpFile = "C:\\mysql\\bin\\WINMYSQLADMIN.HLP";
|
||
|
Application->Title = "WinMySQLadmin 1.0";
|
||
|
Application->CreateForm(__classid(TForm1), &Form1);
|
||
|
Application->CreateForm(__classid(TForm2), &Form2);
|
||
|
Application->CreateForm(__classid(Tdbfrm), &dbfrm);
|
||
|
Application->Run();
|
||
|
}
|
||
|
catch (Exception &exception)
|
||
|
{
|
||
|
Application->ShowException(&exception);
|
||
|
}
|
||
|
return 0;
|
||
|
}
|
||
|
//---------------------------------------------------------------------------
|