Luigi Guest
|
Posted: Sat Apr 21, 2007 8:00 am Post subject: Insufficient memory error |
|
|
Hi,
I'm learning a bit about Builder and C++, and while doing an
application to draw bitmaps, triangles, lines, squares, etc using the
TCanvas methods for drawing (this Canvas is from a TImage component),
I got this error: "Insufficient memory to perform this operation". My
application was using just 7KB memory when the error occurred and I
have 1GB memory, so its not really a lack of memory or hard disk space
issue. Im using Windows XP.
I believe thats happening because I'm calling the FormPaint method
very often, but I'm not sure how to fix that. I really have no ideas
right now, so any hint (or even better, any explanation on what might
be happening) would be welcome.
Thanks in advance.
Luigi |
|