RTC Forums
May 03, 2024, 03:29:05 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: GetTickTime  (Read 3948 times)
cdhaene
RTC Expired
*
Posts: 13


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


« Reply #1 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
Logged
cdhaene
RTC Expired
*
Posts: 13


« Reply #2 on: January 04, 2018, 11:06:27 AM »

OK
this fixed that problem
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.023 seconds with 17 queries.