classes.pp 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. {
  2. $Id$
  3. This file is part of the Free Component Library (FCL)
  4. Copyright (c) 1998 by Michael Van Canneyt and Florian Klaempfl
  5. Classes unit for win32
  6. See the file COPYING.FPC, included in this distribution,
  7. for details about the copyright.
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  11. **********************************************************************}
  12. {$mode objfpc}
  13. { determine the type of the resource/form file }
  14. {$define Win16Res}
  15. unit Classes;
  16. interface
  17. uses
  18. rtlconsts,
  19. sysutils,
  20. types,
  21. typinfo,
  22. windows;
  23. {$i classesh.inc}
  24. implementation
  25. uses
  26. sysconst;
  27. { OS - independent class implementations are in /inc directory. }
  28. {$i classes.inc}
  29. initialization
  30. CommonInit;
  31. {$ifndef ver1_0}
  32. InitCriticalSection(SynchronizeCritSect);
  33. ExecuteEvent := RtlEventCreate;
  34. SynchronizeMethod := nil;
  35. {$endif}
  36. finalization
  37. CommonCleanup;
  38. {$ifndef ver1_0}
  39. DoneCriticalSection(SynchronizeCritSect);
  40. RtlEventDestroy(ExecuteEvent);
  41. {$endif}
  42. end.
  43. {
  44. $Log$
  45. Revision 1.9 2005-03-07 17:57:26 peter
  46. * renamed rtlconst to rtlconsts
  47. Revision 1.8 2005/02/14 17:13:32 peter
  48. * truncate log
  49. Revision 1.7 2005/02/06 13:06:20 peter
  50. * moved file and dir functions to sysfile/sysdir
  51. * win32 thread in systemunit
  52. }