Announcement

Collapse
No announcement yet.

Easy resource question

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Lance Edmonds
    replied
    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.

    ------------------
    Lance
    PowerBASIC Support
    mailto:[email protected][email protected]</A>

    Leave a comment:


  • Scott Turchin
    started a topic Easy resource question

    Easy resource question

    What's the difference between ICON and ICON DISCARDABLE in a resource file?


    Thanks, just curious


    Scott


    ------------------
    Scott
    mailto:[email protected][email protected]</A>
Working...
X