Hello,
I try to allocate approx. 50MB of memory for a DIB:
hDIB= GlobalAlloc(GHND,dw /*approx 50MB*/);
It fails. But Windows task manager told me that more than 500MB available.
The OS is win xp.
Why??? What is the problem?
Please help.
br
Ralf
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 5 of 5
Thread: Why do GlobalAlloc fail?Threaded View
|
Click Here to Expand Forum to Full Width |
Bookmarks