CoInitializeEx()

Started by
2 comments, last by peter86 21 years, 7 months ago
Which header do I need to include to call CoInitializeEx()?
Advertisement
objbase.h

[twitter]warrenm[/twitter]

If you look up a function in MSDN, it should tell you the header file to include and the library to link to.

Helpful links:
How To Ask Questions The Smart Way | Google can help with your question | Search MSDN for help with standard C or Windows functions
You also need to define something prior to the include - #define _WIN32_WINNT 0x0500 will do it, but there''s probably one for 9x as well.
- The trade-off between price and quality does not exist in Japan. Rather, the idea that high quality brings on cost reduction is widely accepted.-- Tajima & Matsubara

This topic is closed to new replies.

Advertisement