RTC Forums

Subscription => Support => Topic started by: cdhaene on January 04, 2018, 10:21:37 AM



Title: GetTickTime
Post by: cdhaene on January 04, 2018, 10:21:37 AM
Hi, updated my delphi to version 10.2.2
reinstalled RTC-components latest version
getting error "[DCC Error] rtcFMX_GUI.inc(41): Undeclared identifier: 'GetTickTime'"

what's wrong?


Title: Re: GetTickTime
Post by: D.Tkalcec (RTC) on January 04, 2018, 10:45:12 AM
"rtcFMX.GUI" and "rtcFMX_GUI" units are no longer included in the RTC SDK (because they are no longer required), which either means that (A) you've unpacked a new RTC SDK version into a folder containing files from some older RTC SDK version, or ... (B) you have multiple RTC SDK versions in your search and/or library path.

When updating the RTC SDK, you have to unpack all RTC files into a NEW and/or EMPTY folder, so you do NOT end up mixing old and new RTC units, and you need to make sure that your Delphi Library Search path ONLY includes the latest "Lib" folder. Also, when updating to a new major RTC SDK release (v6.x -> v7.x -> v8.x -> v9.x), make sure to read all "Updates*.txt" files from the "Help/UpdatesLog" folder, because there can always be changes to the RTC SDK which could require modifications to your Projects.

For example, RTC SDK has undergone some major refactoring changes in the v9.0 update, which includes the removal of "rtcFMX_GUI" and "rtcFMX.GUI" units from the "Lib" folder (so you should remove these units from all your Projects "uses" clauses) and the introduction of the "rtcSystem.pas" unit, with a number of low-level functions previously located in "rtcSyncObjs.pas", "rtcFastStrings.pas" and "rtcInfo.pas" units (like the "GetTickTime" function) moving to the new "rtcSystem.pas" unit, so you might also need to add the "rtcSystem" unit to your units "uses" clauses, if you are using any low-level functions/classes and the unit wasn't added automatically by Delphi.

For more details about changes between the RTC SDK version you have been using before and the RTC SDK update you are updating to, please check the "Updates*.txt" files in the "Help/UpdatesLog" folder (contained in the RealThinClient SDK ZIP file).

Best Regards,
Danijel Tkalcec


Title: Re: GetTickTime
Post by: cdhaene on January 04, 2018, 11:06:27 AM
OK
this fixed that problem