C++ to C# conversion

  • Thread starter Thread starter vikas
  • Start date Start date
V

vikas

I am working on developing an application in c# but I
need to access some class libraries which are in c++.
What I understand is that I can use my c++ library
classes in C# code if I write managed C++ wrappers around
c ++ code. Also I can access the methods using P Invoke
feature. My problem is that in my c++ class libraries we
have used some third party class libraries and we don't
have access to third party code.I can write wrappers
around my base classes but how I can wont be able to
modify the third party libraries which are being used. Is
there any other way to work around this problem.

Any ideas??

Thanks
Vikas
 
Hi Vikas,

I agree with the answer from Nish. In addition, I recommend you refer to
the following MSDN documention which introductes the techniques for
wrapping unmanaged C++ classes with Managed Extensions for C++ classes that
act as proxies.

Part I: Introduction to Wrapping C++ Classes
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vcmxspec/ht
ml/vcmg_overview.asp

Please feel free to let me know if you have any problems or concerns.

Have a nice day!

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! ¨C www.microsoft.com/security
This posting is provided ¡°as is¡± with no warranties and confers no rights.
 
Back
Top