Hi all, I have a stupid problem but I do not know if it can solved some way. While trying to compile a ATL/COM component, I want the MIDL compiler include some other .idl files stored in a path like C:\Program Files\DanLoad 6000\Include. So I put the project settings for MIDL compiler with the /I option (/I "C:\Program Files\Danload 6000\Include"). When I try to build the project, I get the follwoing error. It look as if the MIDL compiler does not understand blanks in the path for include files. Anyone can help? Thank you in advance. --------------------Configuration: DldDanload6000 - Win32 Debug-------------------- Creating Type Library... Microsoft (R) MIDL Compiler Version 5.01.0164 Copyright (c) Microsoft Corp 1991-1997. All rights reserved. Processing C:\temp\DldDanload6000\DldDanload6000.idl Danload fatal error C1083: Cannot open source file: 'Files\Danload': No such file or directory 6000 fatal error C1083: Cannot open source file: '6000': No such file or directory Include fatal error C1083: Cannot open source file: '6000\Include': No such file or directory DldDanload6000.idl midl : command line error MIDL1003 : error returned by the C preprocessor (2) Error executing midl.exe. DldDanload6000.dll - 4 error(s), 0 warning(s) _________________________________________________________________________
M
msh
@msh
Posts
-
MIDL Compiler problem -
Convert CComBSTR to char*Hi all, I need to send an array of char via serial line and I have a method to do that. However the string I should send is a CComBSTR. How can I convert it into a "old C style" array of chars? Thank you in advance.
-
Compile errorsHi all, I am brand new to VC++. I an always having problems with paths when compiling. For instance, the MIDL compiler does not compile if the path of directories include blank spaces (e.g. c:\Program Files\.....). So, I am always compiling with include files in non blank spaces directories (c:\temp\include). What is wrong? Thank you in advance:((