On Friday 28 December 2007 12:45:13 pm Den Jean wrote:
> compile command
> make PREFIX=/usr clean all LCL_PLATFORM=gtk2 OPT="-dDEBUG"

All problems stem from the mixted 
usage of TLCLHandle and THandle. 

TLCLHandle is defined as PtrUInt; // 64 bit sake
THandle is defined as Longint;


        TLCLHandle         THandle
FReference._lclHandle :=CreateFontIndirectEx(ALogFont, Name);

FontResourceCache.Add(FReference.Handle, ALogFont, Name);
provide a TLCLHandle as a THandle parameter 

etc ....

It is not nice to have in a wiki, compile with OPT=-dDEBUG and that 
the source by design does not support range checking :-) anymore.
I hope this is being worked on :-)

Just for info:
when TLCLHandle is defined as THandle everything works fine under 32bit. (no 
other range check errors at startup)

regards, 

Den Jean

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to