RTC Forums
November 23, 2024, 05:02:13 PM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Login
Register
RTC Forums
>
Subscription
>
Support
>
Compiling My Application with RTTI enabled
Pages: [
1
]
« previous
next »
Print
Author
Topic: Compiling My Application with RTTI enabled (Read 4595 times)
aludin
RTC Expired
Posts: 1
Compiling My Application with RTTI enabled
«
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
Re: Compiling My Application with RTTI enabled
«
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
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Dashboard
-----------------------------
=> General
=> 3rd-Party
=> Quick Start
-----------------------------
Subscription
-----------------------------
=> Support
Loading...