|
-
November 24th, 2004, 10:53 AM
#1
CreateDIBSection() returns NULL
Hi all,
I am trying to fix a bug in a graphical exploitation/manipulation application. I have narrowed it down to the fact that a CreateDIBSection() returns a null bitmap handle. Calling GetLastError() has not helped as it returns success (i.e. 0). The fault only arises when the application is asked to handle a large bitmap of around 200MB. I know memory should not be an issue as the PC being used has 1GB of RAM and a huge 3GB of allocated virtual memory.
Any ideas most welcome.
Cheers.
Last edited by grahamaaron; November 24th, 2004 at 10:55 AM.
Reason: to add politeness
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|