1. createDIB

Can someone tell me all possible reasons why createDIB() is 
returning 0 in my program?

Philip D.

new topic     » topic index » view message » categorize

2. Re: createDIB

On Mon,  3 Feb 2003 23:22:36 +0000, Philip D. <philip1987 at hotmail.com> 
wrote:

>
> Can someone tell me all possible reasons why createDIB() is returning 0 
> in my program?

No.


-- 

cheers,
Derek Parnell

new topic     » goto parent     » topic index » view message » categorize

3. Re: createDIB

> 8
> Philip D.
> Brian Broker wrote:
> > What do you get when you put
> >    ? w32Func( GetLastError, {} )
> > immediately after your call to createDIB?
  ERROR_NOT_ENOUGH_MEMORY = 8,
Just a guess...
... are you creating numerous bitmaps, *without* ever calling deleteObject, to
clear memory of the previous images?

new topic     » goto parent     » topic index » view message » categorize

4. Re: createDIB

On Wed,  5 Feb 2003 01:58:54 +0000, Philip D. <philip1987 at hotmail.com> 
wrote:

>
> uh... I never looked into deleteObject.  Probably this is the problem.  
> Thank you so much!  I haven't tested it yet, but it sounds likely.  I 
> wish I would have gotten an error message box telling me this.
>
Ok, ok, ok. I get the hint.. blink
-- 

cheers,
Derek Parnell

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu