pidgi2009 wrote:No, it definitly does not work.
I will try something else.
Something is not right. What are the EXACT steps you are taking? Do you have Runtime packages enabled or disabled?
Moderator: 2ffat
pidgi2009 wrote:No, it definitly does not work.
I will try something else.
pidgi2009 wrote:Here are the steps I used:
1- load the very same project in XE4 instead of XE2, both (XE2 and XE4) installed on the same computer.
pidgi2009 wrote:2- Go to 'C:\Program Files (x86)\Embarcadero\RAD Studio\11.0\source\rtl\win', find the Winapi.Windows.pas file, make o copy of it, then open the Winapi.Windows.pas file itself (not the copy), find the following line:
function GetSystemTimes; external kernel32 name 'GetSystemTimes';
and modify it as
function GetSystemTimes; external kernel32 name 'GetSystemTimes' delayed;
pidgi2009 wrote:5- Using the new .exe file at work, I notice that it does work on the stations that are running Windows XP SP2
pidgi2009 wrote:but most stations use a Citrix session, which is running Windows 2000, and the program does not run on those last with a message stating that the entry point of GetSystemTimes() is not found in the Kernell.
pidgi2009 wrote:One of the project, the simplest, is named ListeDeGarde, thus the main file is ListeDeGarde.cpp. I add the #define you showed as the very first line, above the #include <vcl.h>, rebuilt all, no spurious message.
pidgi2009 wrote:BUT, (there is always a BUT) with or without that #define, as I recompile there are a few dozen lines stating that:
"[DCC Avertissement] Winapi.Windows.pas(33698): W1002 Le symbole 'DELAYED' est spécifique à une plate-forme"
pidgi2009 wrote:That is my understanding, that the message is only a warning. But maybe it could mean that Windows 2000 does not support the 'delayed' directive?
pidgi2009 wrote:Nope, exactly same message, stating that the entry point of GetSystemTimes() is impossible to find in the Kernell dll.
Users browsing this forum: No registered users and 4 guests