ktambasc98
March 27th, 2003, 12:32 PM
Hi,
I am trying to upgrade a VC6 project to VC7. In my project, the IDL file has a few imported IDL files that reside on a server, and I use environment variables to point to them. For example, import.idl resides on a server called remote server. I have an environment variable named PKG_INCLUDE that points to \\remoteserver\version1. In my additional include directories for the IDL file, I put $(PKG_INCLUDE) as a directory.
When I build from the IDE, it says this file is not there. (I have checked that it is there, and it compiled under VC6). When I run the midl command myself, and pass in /I "\\remoteserver\version1", it works fine. It seems the problem is not with midl, but with whatever tool creates the RSP file, and that gets passed to midl.
if I do "import $(PKG_INCLUDE)\imported.idl" in the midl file, that won't compile. in the midl file, I only have "import imported.idl";
Any thoughts?
Thanks,
Kevin
I am trying to upgrade a VC6 project to VC7. In my project, the IDL file has a few imported IDL files that reside on a server, and I use environment variables to point to them. For example, import.idl resides on a server called remote server. I have an environment variable named PKG_INCLUDE that points to \\remoteserver\version1. In my additional include directories for the IDL file, I put $(PKG_INCLUDE) as a directory.
When I build from the IDE, it says this file is not there. (I have checked that it is there, and it compiled under VC6). When I run the midl command myself, and pass in /I "\\remoteserver\version1", it works fine. It seems the problem is not with midl, but with whatever tool creates the RSP file, and that gets passed to midl.
if I do "import $(PKG_INCLUDE)\imported.idl" in the midl file, that won't compile. in the midl file, I only have "import imported.idl";
Any thoughts?
Thanks,
Kevin