Advertisement

DirectPlay Question

Started by November 10, 1999 05:43 PM
0 comments, last by GameDev.net 25 years, 3 months ago
When getting a pointer to a DirectPlayLobby interface, what is the difference between calling DirectPlayLobbyCreate() and CoCreateInstance()????

Thanks in advance for your relpy...

Andy

In short, very little. CoCreateInstance() is a universal way of creating DX (and other) COM objects. DirectPlayLobbyCreate() just simplifies the process a wee bit.

I personally get all my interfaces with CoCreateInstance() just because it unifies my code a little bit.

- Splat

This topic is closed to new replies.

Advertisement