www.pudn.com > C++ Builder 6 编程实例教程.zip > threads.cpp, change:2002-04-14,size:1022b


//---------------------------------------------------------------------------- 
//Borland C++Builder 
//Copyright (c) 1987, 1998-2002 Borland International Inc. All Rights Reserved. 
//---------------------------------------------------------------------------- 
//--------------------------------------------------------------------- 
#include <vcl.h> 
#pragma hdrstop 
//--------------------------------------------------------------------- 
USEFILE("readme.txt"); 
USEFORM("ThSort.cpp", ThreadSortForm); 
USEUNIT("Sortthd.cpp"); 
USERES("Threads.res"); 
//---------------------------------------------------------------------------- 
WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int) 
{ 
	try 
	{ 
    Application->Initialize(); 
    Application->CreateForm(__classid(TThreadSortForm), &ThreadSortForm); 
    Application->Run(); 
   } 
   catch (Exception &exception) 
   { 
      Application->ShowException(&exception); 
   } 
 
   return 0; 
} 
//---------------------------------------------------------------------