www.pudn.com > tb97_176.zip > Demo.cpp, change:1998-08-11,size:689b


//--------------------------------------------------------------------------- 
#include <vcl\vcl.h> 
#pragma hdrstop 
//--------------------------------------------------------------------------- 
USERES("Demo.res"); 
USEFORM("Demo1.cpp", DemoForm); 
//--------------------------------------------------------------------------- 
WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int) 
{ 
	try 
	{ 
		Application->Initialize(); 
		Application->CreateForm(__classid(TDemoForm), &DemoForm); 
		Application->Run(); 
	} 
	catch (Exception &exception) 
	{ 
		Application->ShowException(&exception); 
	} 
	return 0; 
} 
//---------------------------------------------------------------------------