dwsIOCPWorkerThreadPool does not compile in RS10.1 Berlin

Issue #92 resolved
Former user created an issue
procedure TIOCPWorkerThread.Execute;

   procedure ExecuteAnonymousFunction(p : PAnonymousWorkUnit);
   begin
      try
         p^();
      finally
         p^._Release;  // compiler dies here with an "E2018 Record, object or class type required"
      end;
   end;

var
   data : TIOCPData;
begin
   CoInitialize(nil);

Comments (3)

  1. Log in to comment