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



Hi All,
Greetings!!!

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.

.



Relevant Pages

  • Issues in inherting unmanged interfaces(VC++) in manged code(C#)
    ... 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 ... unmanaged interfaces, which can act as bridge between unmanaged interfaces ... project settings(by adding /clr compiler switch) and then tried to compile. ...
    (microsoft.public.dotnet.languages.csharp)
  • vmr9.h not compatible with qedit.h?
    ... otherwise can't complie and told me: ... should not include d3dtypes.h when compiling for DX8 or newer interfaces ...
    (microsoft.public.win32.programmer.directx.video)
  • vmr9.h not compatible with qedit.h?
    ... otherwise can't complie and told me: ... should not include d3dtypes.h when compiling for DX8 or newer interfaces ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: Error compiling loadable kernel module
    ... Thanks for helping me so far. ... when compiling against 2.4.20-30.9. ... the interfaces have been changed from one kernel version to the next. ...
    (comp.os.linux.development.system)