TResourceStatus crashes on x64

Components on the Raize Display palette: frame controllers, menu controllers, labels, borders, lines, separators, status panes, progress bars, etc.

TResourceStatus crashes on x64

Postby UweRaabe » Fri Mar 16, 2012 5:12 am

The corresponding line is in TimerExpired:
Code: Select all
FFreeMemory := MemInfoEx.ullAvailVirtual div 1024;

MemInfoEx.ullAVailVirtual returns 8795940909056 on my system, which div'd by 1024 doesn't fit into a LongInt.

May I suggest that despite changing the type of the property it might be worth thinking about changing the display unit from "KB" to "MB".
Posts: 2
Sat Mar 26, 2011 10:13 am

Re: TResourceStatus crashes on x64

Postby Raize Support » Fri Mar 16, 2012 10:44 am

Thanks for the report. Yes, changing to MB is good idea. The TRzResourceStatus has been around for quite a long time. :)

Raize Software Support
Raize Software
Raize Support
Posts: 609
Fri Mar 25, 2011 9:04 pm

Return to Display

Who is online

Users browsing this forum: No registered users and 0 guests