Re: Win32Lib: running out of memory with createDIB()
If you are sure you're done with a bitmap for a while, you should release the
memory with:
deleteObject().....
example:
dib=createDIB(myBitmap)
dib2=createDIB(myOtherBitmap
-- then, when you're done with these...
deleteObject(dib)
deleteObject(dib2)
> If I create a DIB like this (using Win32Lib)
> dib = createDIB(myBitmap)
> and then later create another DIB using the same variable:
> dib = createDIB(myOtherBitmap),
> does the memory taken by the first DIB get released? *NO*
Wolf
|
Not Categorized, Please Help
|
|