threads.cpp
上传用户:lulishicai
上传日期:2010-03-01
资源大小:13202k
文件大小:1k
源码类别:

Delphi/CppBuilder

开发平台:

C++ Builder

  1. //----------------------------------------------------------------------------
  2. //Borland C++Builder
  3. //Copyright (c) 1987, 1998-2002 Borland International Inc. All Rights Reserved.
  4. //----------------------------------------------------------------------------
  5. //---------------------------------------------------------------------
  6. #include <vcl.h>
  7. #pragma hdrstop
  8. //---------------------------------------------------------------------
  9. USEFILE("readme.txt");
  10. USEFORM("ThSort.cpp", ThreadSortForm);
  11. USEUNIT("Sortthd.cpp");
  12. USERES("Threads.res");
  13. //----------------------------------------------------------------------------
  14. WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
  15. {
  16. try
  17. {
  18.     Application->Initialize();
  19.     Application->CreateForm(__classid(TThreadSortForm), &ThreadSortForm);
  20.     Application->Run();
  21.    }
  22.    catch (Exception &exception)
  23.    {
  24.       Application->ShowException(&exception);
  25.    }
  26.    return 0;
  27. }
  28. //---------------------------------------------------------------------