🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

DirectPlay Question

Started by
0 comments, last by GameDev.net 24 years, 7 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

Advertisement
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