winmysqladmin.cpp
上传用户:romrleung
上传日期:2022-05-23
资源大小:18897k
文件大小:1k
- //---------------------------------------------------------------------------
- #include <vcl.h>
- #pragma hdrstop
- HINSTANCE g_hinst;
- USERES("winmysqladmin.res");
- USEFORM("main.cpp", Form1);
- USEFORM("initsetup.cpp", Form2);
- USEFORM("db.cpp", dbfrm);
- USELIB("libmysqlclient.lib");
- USELIB("libmyisammrg.lib");
- USELIB("libheap.lib");
- USELIB("libisam.lib");
- USELIB("libmerge.lib");
- USELIB("libmyisam.lib");
- USELIB("libmysys.lib");
- USELIB("libregex.lib");
- USELIB("libstrings.lib");
- USELIB("libzlib.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;
- }
- //---------------------------------------------------------------------------