Forum: C Jun 10th, 2005 |
| Replies: 1 Views: 1,502 Found my own answer:::::::
For those interested,,,,, the pointer aPicture ( which is of type Image ) must be delete at some point, or else it never call the destructor, which in tern never... |
Forum: C Jun 10th, 2005 |
| Replies: 1 Views: 1,502 Hi
Does anyone know why the following code causes me a memory leak:
HGLOBAL hGlobal = GlobalAlloc( GMEM_FIXED, aJpegSize );
void* p = GlobalLock(hGlobal);
memcpy((char... |
Forum: C Jun 8th, 2005 |
| Replies: 2 Views: 15,704 OleLoadPicture is murder on the CPU if you want to display jpeg at a fast rate. Do you know of a function which would not take up so much cpu time.
Thanks |
Forum: C Jun 8th, 2005 |
| Replies: 0 Views: 2,606 Hi,
I am having problems with the StretchDIBits function. The w->length contains the size of the jpeg. And the w->p contains a pointer to the begining of the jpeg data. Nothing displays onto the... |