I am working on an old C ++ COM project, which I am moving to Visual Studio 2010. In the IDL file for this project, I need to reference the ODL file from another C ++ project. My problem is that another project is generating a header file like $ (filename) _h.h. When my IDL file generates its header file, it generates the ODL file name as $ filename.h and cannot link to the correct file.
In other words, in my IDL file ("MyIDLFile.idl") I have a statement like
import "MyODLFile.odl"
which in the generated file ("MyIDLFile.h") becomes
include "MyODLFile.h"
when i need it to generate
include "MyODLFile_h.h"
How to specify the name of the file I want to create an IDL in the import statement?
source
share