Reputation: 3489
When should I use one over the other? MSDN doesn't provide any useful information.
Upvotes: 4
Views: 3479
Reputation: 755317
If you're using MFC you should use the AfxOleInit
variant. This calls both OleInitialize
and creates / installs an MFC IMessageFilter
object. The second step is an MFC specific initialization step.
If you're not using MFC then just call OleInitialize
Upvotes: 6