Getting information from CreateInstance
COM
1
Posts
1
Posters
0
Views
1
Watching
-
Scenario: Application0 creates an instance of Application1, which in turn creates an instance of Application2. However, sometimes Application2 does not support the interface Application1 wants to use. The
HRESULT
returned fromCreateInstance()
will then indicate "No such interface supported". How do I (in Application0) find out the name of the interface that caused the error? Cheers, Fredrik
"Felix qui potuit rerum cognoscere causas."