mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
7311cbe7de
Portability fixes. Removed compiler warnings. VC++Files/client/mysql.dsp: Updated to 4.0.2 VC++Files/client/mysqladmin.dsp: Updated to 4.0.2 VC++Files/client/mysqlclient.dsp: Updated to 4.0.2 VC++Files/client/mysqldump.dsp: Updated to 4.0.2 VC++Files/client/mysqlimport.dsp: Updated to 4.0.2 VC++Files/client/mysqlshow.dsp: Updated to 4.0.2 VC++Files/innobase/innobase.dsp: Updated to 4.0.2 VC++Files/libmysql/libmySQL.dsp: Updated to 4.0.2 VC++Files/libmysqltest/myTest.dsp: Updated to 4.0.2 VC++Files/merge/merge.dsp: Updated to 4.0.2 VC++Files/myisam/myisam.dsp: Updated to 4.0.2 VC++Files/mysql.dsw: Updated to 4.0.2 VC++Files/mysqlbinlog/mysqlbinlog.dsp: Updated to 4.0.2 VC++Files/mysqlcheck/mysqlcheck.dsp: Updated to 4.0.2 VC++Files/mysqlmanager/MySqlManager.dsp: Updated to 4.0.2 VC++Files/mysys/mysys.dsp: Updated to 4.0.2 VC++Files/pack_isam/pack_isam.dsp: Updated to 4.0.2 VC++Files/perror/perror.dsp: Updated to 4.0.2 VC++Files/replace/replace.dsp: Updated to 4.0.2 VC++Files/sql/mysqld.dsp: Updated to 4.0.2 VC++Files/test1/test1.dsp: Updated to 4.0.2 VC++Files/thr_insert_test/thr_insert_test.dsp: Updated to 4.0.2 VC++Files/thr_test/thr_test.dsp: Updated to 4.0.2 VC++Files/vio/vio.dsp: Updated to 4.0.2 VC++Files/zlib/zlib.dsp: Updated to 4.0.2 include/config-win.h: Added isnan() and finite() include/myisam.h: Move thr_xxx functions to myisam_priv.h myisam/mi_check.c: Portability fix. myisam/mi_locking.c: Comment cleanup myisam/myisamchk.c: Removed compiler warning myisam/myisamdef.h: Added thr_xxx functions myisam/sort.c: Portability fix sql/field.cc: Portability fix sql/sql_insert.cc: R
38 lines
1.3 KiB
C++
38 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;
|
|
}
|
|
//---------------------------------------------------------------------------
|