Archived

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

c++: Can't get CoInitializeEx working...... says undeclared...

This topic is 5111 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

ive got this from a directx sdk example..directplay8 But this is a c++ command so thats why im asking here. ive got: CoInitializeEx(NULL, COINIT_MULTITHREADED); But when i try that in my program i get errors that CoInitializeEx and COINIT_MULTITHREADED are undeclared. Ive got the ole32.dll linked and objbase.h included. So whats the problem?

Share this post


Link to post
Share on other sites