I’m having a problem getting the midl task to work. Within my build file, I have something that looks like:

 

 

<property name="idl.src" value="file.IDL" />

<property name="idl.out" value="file.tlb" />

 

<midl env="win32" filename="${idl.src}" tlb="${idl.out}">

      <options>

            <option name="/mktyplib203"/>

      </options>

</midl>

 

 

When it’s run, I get an error like:

 

midl : command line warning MIDL1009 : unknown argument ignored "file.IDL"

midl : command line error MIDL1001 : cannot open input file option

 

BUILD FAILED

 

Am I using this in the right way?

 

Regards,

Nick.

Reply via email to