Re: DirectDrawCreate/SetCooperativeMode problems
- Posted by stabmaster_ at hotmail.com Apr 12, 2003
- 557 views
>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