Forum: C Jun 10th, 2005 |
| Replies: 1 Views: 1,462 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,462 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,495 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,561 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... |
Forum: Game Development Jun 7th, 2005 |
| Replies: 0 Views: 3,601 Hi Guys,
I am writting some c++ code. And need to use the directx library to render images to the screen. For those you don't have a CPU speed problem(like I have) you can render jpegs... |
Forum: Community Introductions Jun 7th, 2005 |
| Replies: 3 Views: 1,724 Hi Everyone,
My name is Maldini, I'm glad i found this forum, and I hope to soon be able to help others as I know they will help me.
maldini |