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


COMs and CoInitialize()

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