I'm running a report that includes calculations, data based on tables and graphs. I'm running it hundreds of times in a row to generate reports for multiple entities. Many times, at about the same place, I get a 'not enough memory' error, like it has just had enough and can't fit any more. I get error 43, unhandled structure exception, in the procedure 'getpicturevalfromhbitmap' line 12971. Any idea how to deal with this?
Comments: ** Comment from web user: Burkhard_Stiller **
Comments: ** Comment from web user: Burkhard_Stiller **
Looks like that there are some WINAPI calls #defined (see -> 'GetPictureValFromHBitmap()). Maybe the bitmap handles are not freed correctla which may cause a memory leak...