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?
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?