如题

解决方案 »

  1.   

    看代码:
    _RTL_CRITICAL_SECTION = record
        DebugInfo: PRTLCriticalSectionDebug;
        LockCount: Longint;
        RecursionCount: Longint;
        OwningThread: THandle;
        LockSemaphore: THandle;
        Reserved: DWORD;
      end;TRTLCriticalSection = _RTL_CRITICAL_SECTION; // ******TCriticalSection = class(TSynchroObject)     // ******
      protected
        FSection: TRTLCriticalSection;           // ******
      public
        constructor Create;
        destructor Destroy; override;
        procedure Acquire; override;
        procedure Release; override;
        procedure Enter;
        procedure Leave;
     end;看到区别了把.