CDPacket.cpp
资源名称:cd_man.zip [点击查看]
上传用户:deyixm
上传日期:2007-01-06
资源大小:43k
文件大小:2k
源码类别:
行业应用
开发平台:
Visual C++
- //---------------------------------------------------------------------------
- #include <vcl.h>
- #pragma hdrstop
- USEFORM("main.cpp", Form1);
- USEFORM("about.cpp", AboutBox);
- USEFORM("CDAdd.cpp", Form3);
- USEFORM("SFAdd.cpp", Form4);
- USEFORM("CDFind.cpp", Form5);
- USEUNIT("SerchDisk.cpp");
- USEFORM("ModiSF.cpp", Form2);
- USEFORM("config.cpp", Form6);
- USEFORM("ProgressBar.cpp", Form7);
- USERC("cdpacket.rc");
- USERES("CDPacket.res");
- //---------------------------------------------------------------------------
- AnsiString cdbname;
- //---------------------------------------------------------------------------
- WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR str, int)
- {
- try
- {
- Application->Initialize();
- Application->Title = "学韬电子光盘册";
- Application->CreateForm(__classid(TForm1), &Form1);
- Application->CreateForm(__classid(TForm5), &Form5);
- Application->CreateForm(__classid(TForm2), &Form2);
- Application->CreateForm(__classid(TForm3), &Form3);
- Application->CreateForm(__classid(TForm4), &Form4);
- Application->CreateForm(__classid(TForm6), &Form6);
- Application->CreateForm(__classid(TForm7), &Form7);
- cdbname=str;
- Application->Run();
- }
- catch (Exception &exception)
- {
- Application->ShowException(&exception);
- }
- return 0;
- }
- //---------------------------------------------------------------------------