Archived

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

COMs and CoInitialize()

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

Hi! I am programming with DX8 for the first time. While I was reading the documentation, I got confused with that COM and CoInitialize() thing. Thaugh I know Object-Oriented programming very well, I don''t understand why the DirectSound and DirectPlay tutorials use CoInitialize() and CoCreateInstance() while DirectGraphics and DirectInput tutorials use the Dxxx8Create() and CreateDevice() functions. Is there any place I can find tutorials that all use CoInitialize() or a place where I could find tutorials that all use Dxxx8Create()? Thanks! Taz-Matt.

Share this post


Link to post
Share on other sites