开发者

Do you need to call CoInitialize() when using Direct3D9?

开发者 https://www.devze.com 2023-02-06 00:01 出处:网络
My understanding was since D3D is u开发者_如何转开发sing COM, the answer is yes. But in the Ogre rendering engine, it appears this is never called. Is this fine or an oversight - if so could it have s

My understanding was since D3D is u开发者_如何转开发sing COM, the answer is yes. But in the Ogre rendering engine, it appears this is never called. Is this fine or an oversight - if so could it have some actual consequences?


It is not. You don't use CoCreateInstance(), the interface types are not declared in IDL, you have to link to a .lib

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号