Archived

This topic is now archived and is closed to further replies.

DInput and MFC?

This topic is 5044 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

When I try to initalise my dinput objects, I get this error: SetCooperativeLevel: window may not be a child window My program bails while I''m trying to set the coop level. I''ve tried every combination of foreground, background, exclusive and non-exclusive. I send in the hwnd after I create my window, so I don''t think that''s the problem.

Share this post


Link to post
Share on other sites
creating a window in MFC is a right pain in the ass if youve never done it before... your best bet is to look on MSDN online im sure they will have a (BRIEF) tutorial on it or something, but i htink you have to set a special coop mode... as i said look for it on MSDN...

I would enter some code to help you but when i used MFC to make a window with DX it went nuts at me and i had more important work to do... so sorry for this post not being much use... im sure someone else will help though...

Share this post


Link to post
Share on other sites