Article # 678, added by Geoworks, historical record
| first | previous | index | next | last |

I get a BLOCK_ALLOCATED_WITH_NO_FLAGS error. What does it mean?



Q. I tried to do a MemAlloc and I got an error in Swat:

   BLOCK_ALLOCATED_WITH_NO_FLAGS

   What does it mean?

A. A block was allocated that was neither fixed, discardable, nor
   swapable. This is bad, as it'll just sit on the heap, even if
   there is available swap space. You should call MemAlloc with
   either HF_FIXED, HF_DISCARDABLE, or HF_SWAPABLE.