can anyone help me,

i am trying to create MSHtmHstInterop.dll

but im getting this error and i dont know what it means or how to fix it

c:\program files\microsoft sdks\windows\v6.0\bin\xmldom.idl(22) : fatal error C1
034: idispids.h: no include path set
midl : command line error MIDL1003 : error returned by the C preprocessor (2)

Re: Visual C# General Help - command line error MIDL1003


The MIDL compiler ran across a #include statement in the IDL file and it can't find the referenced IDL file because no include paths were specified. Use the /I command line option to specify the path to the various IDL files. Normally you would use the standard include files used by the compiler. Try SET INCLUDE from the command line to confirm that the INCLUDE variable was set up. If it wasn't then you should set it up to avoid a lot of extra work on your part. This was an option that was available when installing VS2005 I believe. There is also a BAT file that sets up the command line properly for the various tools (it ships with VS2005).

Michael Taylor - 9/5/07

Re: Visual C# General Help - command line error MIDL1003


It may not be the best solution,

but i changed the #include <file.h> to #include "file.h" and copied file.h to the same folder as the .idl file and it worked.