/no_def_idir switch

When directories are specified with the /I switch, the /no_def_idir switch instructs the MIDL compiler to search only the directories specified with the /I switch, ignoring the current directory as well as the directories specified by the INCLUDE environment variable.

midl /no_def_idir

Switch Options

This switch has no parameters.

Remarks

When no directories are specified with the /I switch, the /no_def_idir switch instructs the MIDL compiler to search only the current directory.

Examples

; search only the current directory 
midl /no_def_idir filename.idl  

; search only the specified directories 
midl /no_def_idir /I c:\c700\include filename.idl 

See also

General MIDL Command-line Syntax

/acf

/I