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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

midl does not allow to specify files with spaces in their name ?

Status
Not open for further replies.

BAriel

Technical User
Oct 9, 2002
5
DE
Hello dear forum participants,
I experience following :
Trying to specify additional directories for midl with
/I does not work as soon files do contain spaces, it
as expecially annoying because some of idl files are
situated under standard directories as "Program Files"
or "Visual Studio" . Now my questions:
1) Is it indeed an issue ?
If yes, what can one do to circumvent the problem ?
Does some escape sequence for empty sequence exist
that is special to Microsoft world ?

Yours sincerely
Ariel Burbaickij


 
inclose the path and file name in quotes.

myvar = "'c:\my doc\my filename.doc'" Attitude is Everything
 
Thank you for advice but it does not work. If you do not
mind here is the log of compilers' output with relevant
project settings. Everything is included by means of cut-n-paste, i.e. is original
Processing C:\Program Files\ABB Industrial IT\IntegerValueApp\IntegerValueApp.idl
ABB
fatal error C1083: Cannot open source file: 'Files\ABB': No such file or directory
Industrial
fatal error C1083: Cannot open source file: 'Industrial': No such file or directory
Integrate
fatal error C1083: Cannot open source file: 'IT\Integrate': No such file or directory
Aspect
fatal error C1083: Cannot open source file: 'IT\Aspect': No such file or directory
Integrator
fatal error C1083: Cannot open source file: 'Integrator': No such file or directory
idl'
fatal error C1083: Cannot open source file: 'PlatformSDK\idl'': No such file or directory
IntegerValueApp.idl
midl : command line error MIDL1003 : error returned by the C preprocessor (2)
Error executing midl.exe.

IntegerValueApp.dll - 7 error(s), 0 warning(s)
The file is situated here :
C:\Program Files\ABB Industrial IT\Integrate IT\Aspect Integrator PlatformSDK\idl
Project settings are:
/I "'c:\Program Files\ABB Industrial IT\Integrate IT\Aspect Integrator PlatformSDK\idl'"
So what is going wrong ?

Yours sincerely
Ariel Burbaickij


 
Ariel,

did u ever got your problem solved?

I am with Visual Studio and i am having (i think the same problem)

Any help will be welcomed!!

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top