You are not logged in. You can browse in the PowerBASIC Community, but you must click Login (top right) before you can post. If this is your first visit, check out the FAQ or Sign Up.
Scott Turchin
MCSE, MCP+I http://www.tngbbs.com
---------------------- True Karate-do is this: that in daily life, one's mind and body be trained and developed in a spirit of humility; and that in critical times, one be devoted utterly to the cause of justice. -Gichin Funakoshi
DISCARDABLE indicates that when memory is low, Windows can choose to free (release) the resource from memory, and if/when the resource is required again later it can be reloaded transparently. Importantly, the application is not made aware of this background memory management.
Essentially, the DISCARDABLE characteristic stems from Win16 when lack of memory was (is!) a problem.
In WIN32, this scheme is largly (completely?) irrelevent since low memory conditions are much less of a problem, thanks to the huge amounts of virtual memory than can be dynamically allocated, etc.
I'm scratching *my* memory now, but I think that Win32 may actually ignore that characteristic of a resource object.
We process personal data about users of our site, through the use of cookies and other technologies, to deliver our services, and to analyze site activity. For additional details, refer to our Privacy Policy.
By clicking "I AGREE" below, you agree to our Privacy Policy and our personal data processing and cookie practices as described therein. You also acknowledge that this forum may be hosted outside your country and you consent to the collection, storage, and processing of your data in the country where this forum is hosted.
Comment