[fpc-devel] windows shlobj SIGDN longint

Michael Van Canneyt michael at freepascal.org
Thu Jun 25 09:05:28 CEST 2026



On Thu, 25 Jun 2026, Mattias Gaertner via fpc-devel wrote:

>
>
> On 6/24/26 22:54, J. Gareth "Kit" Moreton via fpc-devel wrote:
>> Hmmm, that's a little bit difficult.  What happens if you define the 
>> constants as, say, "SIGDN_FILESYSPATH = longint($80058000);"?
>
> Then it would compile.
>
> But it seems the C code uses DWord, so why should FPC use longint?

Historic reasons, most likely. 
Of course it should not use longint these days, it must be changed to DWord/Cardinal.

Michael.


More information about the fpc-devel mailing list