home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 May / Chip_2002-05_cd1.bin / chplus / cpp / 3 / ikona.exe / trayicon.cpp < prev    next >
C/C++ Source or Header  |  1998-02-09  |  940b  |  25 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. HINSTANCE g_hinst;
  9. //---------------------------------------------------------------------------
  10. USEFILE("readme.txt");
  11. USEFORM("traymain.cpp", Form1);
  12. USERES("trayicon.res");
  13. //---------------------------------------------------------------------------
  14. WINAPI WinMain(HINSTANCE, HINSTANCE hInstance, LPSTR, int)
  15. {
  16.     Application->Initialize();
  17.     g_hinst = hInstance;
  18.     Application->CreateForm(__classid(TForm1), &Form1);
  19.         Application->Run();
  20.  
  21.     return 0;
  22. }
  23. //---------------------------------------------------------------------------
  24.  
  25.