Using VCProjectEngine and COM
问题 I am trying to use the COM system for VCProjectEngine. It is pretty simple to use in C# but I am hitting a wall in native C++. I am using the COM system and so far I was able to get a pointer to the VCProjectEngine interface using the CoCreateInstance function. But now what should I do with this interface? I would like to access the VCProject interface to be able to add files to the project. I tried to go with LoadProject or CreateProject but it takes a IDispatch parameter not a VCProject one