home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1997 May
/
Pcwk0597.iso
/
borland
/
cb
/
setup
/
cbuilder
/
data.z
/
QBFDEMO.CPP
< prev
next >
Wrap
C/C++ Source or Header
|
1997-02-28
|
1KB
|
31 lines
//----------------------------------------------------------------------------
//Borland C++Builder
//Copyright (c) 1987, 1997 Borland International Inc. All Rights Reserved.
//----------------------------------------------------------------------------
//---------------------------------------------------------------------------
#include <vcl\vcl.h>
#pragma hdrstop
#include <except.h> //for xmsg
#include <cstring.h> //for xmsg.why().c_str()
//---------------------------------------------------------------------------
USERES("Qbfdemo.res");
USEFORM("QBFForm.cpp", QueryForm);
USEFORM("Rsltform.cpp", ResultForm);
//---------------------------------------------------------------------------
WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
{
try{
Application->Initialize();
Application->CreateForm(__classid(TQueryForm), &QueryForm);
Application->Run();
}
catch(Exception& e){
ShowMessage(e.Message);
}
catch(xmsg& e){
ShowMessage(e.why().c_str());
}
return 0;
}
//---------------------------------------------------------------------------