Quote from: Phoenix on 15 October 2018, 10:47:41Sorry for the late reply (I'm enjoying safe browsing with ExpressVPN and not registered on the site and I do not receive an email alert).
IMPORTANT NOTE
Even if you use Windows 64bit, if you compile for example with Lazarus 32bit you can not have this problem.
Unfortunately, the memory violation has unpredictable effects.
- You can try to change the two lines of suspicious code
If you use Lazarus (32 / 64bit):
uInt = NativeUInt
ptr2int = PtrUInt
If you use Delphi (depends on the version):
http://docwiki.embarcadero.com/Libraries/Tokyo/en/System.NativeUInt
in theory for 64bit if you use "Int64" it's ok
For ptr2int see my post
- RESTART the computer (in Windows 10, shut down the system should be similar to a hibernation) to "clean" the corrupted memory.
- Build the library (separately if you use it as a package) and the program
If you see differences with your problem you will have confirmation ;).
uInt = Cardinal;
FillChar(TmpInfo, SizeOf(TmpInfo), 0);
show variable message not initializedFillChar({%H-}TmpInfo, SizeOf(TmpInfo), 0);
ifMono: TImageFormat = TImageFormat (250);
...Page created in 0.072 seconds with 19 queries.