Re: DirectDrawCreate/SetCooperativeMode problems

new topic     » goto parent     » topic index » view thread      » older message » newer message

>Now, I keep getting a return value of 2147500034,
>which is the error code DIERR_NOAGGREGATION.  I think
>this means that it thinks, in the call to
>DirectDrawCreate, I didn't set the third param to null
>. . . but I did.

You sure about that? It seems unlikely that you would get a DirectInput 
error when calling a DirectDraw interface method. Judging from the MSDN page 
for IDirectDraw7::SetCooperativeLevel, these are the possible error codes:

DDERR_EXCLUSIVEMODEALREADYSET
DDERR_HWNDALREADYSET
DDERR_HWNDSUBCLASSED
DDERR_INVALIDOBJECT
DDERR_INVALIDPARAMS
DDERR_OUTOFMEMORY

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu