RTC Forums
April 20, 2024, 12:08:48 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: Compiling My Application with RTTI enabled  (Read 3357 times)
aludin
RTC Expired
*
Posts: 1


« 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!
Logged
D.Tkalcec (RTC)
Administrator
*****
Posts: 1881


« Reply #1 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
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.022 seconds with 16 queries.