RTC Forums

Subscription => Support => Topic started by: aludin on February 22, 2018, 11:22:37 PM



Title: Compiling My Application with RTTI enabled
Post by: aludin on February 22, 2018, 11:22:37 PM
When I try to compile my app with RTTI enabled (Win64, Console), I am getting the following error:

[dcc64 Error] rtcThrPool.pas(471): E2217 Published field 'P' not a class or interface type


Not sure what to do. The same error does not happen with I have RTTI disabled.

Thanks for your help!


Title: Re: Compiling My Application with RTTI enabled
Post by: D.Tkalcec (RTC) on February 23, 2018, 02:52:28 AM
To fix this error, you can either download RTC SDK v9.22 (just released), or ... add "public" just before the line of code in the "rtcThrPool.pas" unit where you got the compile error ...

  TProcEv=class(TObject)
  public // <= add this line here!
    P:TRtcSyncEvent;
    E:TRtcEventEx;
    end;

Best Regards,
Danijel Tkalcec