1. RE: createDIB

What do you get when you put

   ? w32Func( GetLastError, {} )

immediately after your call to createDIB?

-- Brian

Philip D. wrote:
>      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

8

Philip D.


Brian Broker wrote:
> What do you get when you put
> 
>    ? w32Func( GetLastError, {} )
> 
> immediately after your call to createDIB?
> 
> -- Brian
> 
> Philip D. wrote:
> >      Can someone tell me all possible reasons why createDIB() is 
> > returning 0 in my program?
> > 
> > Philip D.
> 
>

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

3. RE: createDIB

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.

Thank you! I hope it works.
Philip D.

Wolf wrote:
> > 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

Search



Quick Links

User menu

Not signed in.

Misc Menu