Hi,
I have a custom COM object I would like to instantiate in my metro app (c++). As I understand, I need to include this COM object in the same solution and it must be reg free. So the COM object must be added to my metro app as an isolated COM reference.
Then, when I call CoCreateInstance from within the metro app, it uses the local isolated object instead. (Did I get this right?)
But, it seems I cannot add a reference, to my metro app, which has an 'isolated' property. I created several test apps to see which I could add this type of reference, and the only apps for which I could do this are C# (not metro) (see images below).
I've seen a number of posts which ask this question, and the answer is to use a regless COM object.
So, did I miss something? Is it possible or not to add an isolated COM reference to a metro app? Or to put it another way, is it at all possible to instantiate a custom COM object in a c++ metro app?