469,578 Members | 1,914 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,578 developers. It's quick & easy.

Issues in inherting unmanged interfaces(VC++) in manged code(C#)

Hi All,

I have a question. Please respond....

I am trying to write a C# component that need to inherit some of the the
interfaces from unmanged code(VC).

I think one way to resolve this is to port unmanged interfaces and header
files in to manage C++ as Visual Studio allows porting and compiling all this
existing unmanaged code to .NET: MC++ managed code (with the /clr compiler
switch and IJW). This is nothing but building a managed wrapper over existing
unmanaged interfaces, which can act as bridge between unmanaged interfaces
and C# classes.

For porting C++ unmanaged to manageed C++ porting, I have tried changing
project settings(by adding /clr compiler switch) and then tried to compile.
But this doesn't help. As I am getting somany Linker errors.

Please let me know the better way to inhert unmanged interfaces(VC++) in to
manged code(C#).

Thanks in advance,
P Reddy.

Nov 17 '05 #1
0 1140

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by codymanix | last post: by
4 posts views Thread by James L. Brown | last post: by
1 post views Thread by Allen Maki | last post: by
reply views Thread by suresh191 | last post: by
4 posts views Thread by guiromero | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.