[fpc-devel] Does 3.2.3 still support Windows XP ?

Martin Frb lazarus at mfriebe.de
Thu Aug 6 16:47:27 CEST 2026


On 06/08/2026 16:39, Marco van de Voort via fpc-devel wrote:
>
> Op 6-8-2026 om 16:34 schreef Tomas Hajny via fpc-devel:
>>>
>>> But, it the IDE code had GetTickCount64 for a long time, and it did 
>>> start with fpc 3.2.3 before.
>>> So there must have been a method that was called instead?
>>
>> As far as I can see, IDE itself calls GetTickCount, not 
>> GetTickCount64 (in particular in whelp.pas). Ditto for FreeVision (in 
>> unit Drivers).

Sorry, I meant the Lazarus IDE.



>>
> _which_ getthickcount, since the Sysutils implementation does:
>
>
> {$IFNDEF HAS_GETTICKCOUNT}
> function GetTickCount: LongWord;
> begin
>   Result := LongWord(GetTickCount64);
> end;
> {$ENDIF}
>

But that is GetTickCount. That was no problem.

The problem is the other way round, the Lazarus IDE calls (and has done 
so for a long time) GetTickCount64.

Probably there somewhere is an implementation of that that works under 
XP => and as long as the Windows API was not declared, all code called 
that compatible method.
But now, some code calls the windows api call. And then the exe doesn't 
start.



More information about the fpc-devel mailing list