Hi,
I have some more info on this, CVI will not allow you to add additional paths for the MIDL compiler. There are a couple of things that you can try out:
1) When you include the additional file in the idl file, try providing it with a fully qualified path to the idl file.
2) You can use an external compiler to create the compiled midl file ( a tlb file ), and use the VC resource editor to embed his tlb file into the CVI projects resource file. This file is in the build folder for and has an res extension
There is somthing to watch out for, the IDL file generated by the CVI wizard could be reganareted if you run the wizard again; this could delete all you changes. The file has a warning along those lines.
I hope
this helps.
Regards,
Juan Carlos
N.I.