Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VC++ Toolkit 2003 can't find comutils.h with Core SDK installed

Status
Not open for further replies.

lgedgar

Programmer
Sep 6, 2004
1
US
I've downloaded/installed both the Visual C++ Toolkit 2003 and the Core SDK from Microsoft's website.

I have never tried to use COM from C++ before, so that part is new to me. But when I try to #import the msado15.dll library (or any other COM library, as it turns out) I get this error (compiling my file 'Jared.cpp'):

--------------------------------------------------

C:\Program Files\Microsoft SDK\include\ComDef.h(23) : fatal error C1083: Cannot
open include file: 'comutil.h': No such file or directory
This error occurred in injected text:
#injected_line 21 "Jared.cpp"

#include <comdef.h>

--------------------------------------------------

The "Microsoft SDK\include" directory does contain comdef.h, but for some reason it doesn't have comutils.h, comip.h, etc. The "Microsoft SDK\include\Win64\crt" directory DOES contain these files...

Am I missing something or is Microsoft just not quite nice enough to provide everything I need here? And surely I'm not supposed to use the Win64\crt files?

I'm trying to keep my expenses low here (actually nonexistent!) so purchasing Visual Studio isn't something I'm interested in doing yet. Does anyone know where else to obtain these missing header files?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top