Forums › TWAIN Classic › application memory and virtual memory increase quickly › Reply To: application memory and virtual memory increase quickly
- Topics - 9
- Replies - 583
- Total Posts - 592
it’s been a little while since I worked on this bit of code, but I see one other difference between my code and yours – I call GlobalUnLock on imgPtr just before I call GlobalFree. I also don’t put my GlobalFree calls in an if block but I don’t think that is the issue. If you add GlobalUnLock before GlbalFree does it change your memory usage?