Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CaptureImageOrColor Enquiry
#11
Fails to allocate 9 MB of memory. Something wrong with memory, normally should allocate hundreds MB.
Try to call CreateCompatibleBitmap repeatedly until succeeds.

Macro Macro2369
Code:
Copy      Help
rep 100 ;;wait max 10s
,bm=CreateCompatibleBitmap(dcs width height)
,if(bm) break
,0.1
if(!bm) end "CreateCompatibleBitmap" 17


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)