Certainly this has been asked before, but I can't find the answer:

I have a C# class implementing some com-visible interfaces and I want to
use these interfaces inside a c++ application ( partly managed, partly
unmanaged). 

I know that I need to assign the ComVisible and Guid attributes to me c#
interfaces.

The call chain is 
        c# class (implements interfaces) 
        -> c++ managed class (receiving the interface ptr as a
parameter) 
        -> c++ unmanaged (receiving the interface ptr as a parameter)

The first transition c# -> managed c++ works nicely, but what do I need
to do to convert the managed interface to the required COM interface in
the last step.

I expect that I need to generate some header files and to somehow
convert my .NET interface to the COM interface.

Any pointers?!

My regards
        Axel

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to