home *** CD-ROM | disk | FTP | other *** search
/ PC Plus SuperCD (UK) 2000 May / PCP163A.iso / Runimage / Cbuilder4 / Examples / Apps / SysSound / SYSSOUND.CPP < prev    next >
Encoding:
C/C++ Source or Header  |  1999-01-26  |  1008 b   |  28 lines

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