Wrox Programmer Forums
|
BOOK: Professional C# 2008 ISBN: 978-0-470-19137-8
This is the forum to discuss the Wrox book Professional C# 2008 by Christian Nagel, Bill Evjen, Jay Glynn, Morgan Skinner, Karli Watson; ISBN: 9780470191378
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional C# 2008 ISBN: 978-0-470-19137-8 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 27th, 2009, 03:18 AM
Registered User
 
Join Date: Aug 2009
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
Question is c++ code libary useable in c sharp?

Dear All,

would you please tell me about the .net languages..that..if i write code in c++..would it be convertible into c sharp...as i have a library which is for c++ and i want to be usable in c sharp....
 
Old September 2nd, 2009, 12:56 PM
Friend of Wrox
 
Join Date: May 2004
Posts: 642
Thanks: 0
Thanked 43 Times in 42 Posts
Default

You can create a dll project in C++ and import the C++ dll into C# project. For more details, you can refer to:
http://msdn.microsoft.com/en-us/magazine/cc164123.aspx
2. If you want to use C++ in c# code directly, you can create a CLR(C++/CLI) project, then you can write c++ and c# code in the same project. For more details, please refer to:
http://msdn.microsoft.com/en-us/magazine/cc163852.aspx
and
http://www.codeproject.com/KB/mcpp/cppcliintro01.aspx
Please check the following URL:
http://social.msdn.microsoft.com/For...4-337f58818ef9
__________________
Om Prakash Pant
Click the "Thanks" button if this post helped you.
The Following User Says Thank You to om_prakash For This Useful Post:
irfandayan (September 2nd, 2009)
 
Old September 2nd, 2009, 02:03 PM
Registered User
 
Join Date: Aug 2009
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
Default thanks

Thanks ...your these reference really help me thanks again





Similar Threads
Thread Thread Starter Forum Replies Last Post
What is the equivalant of a 'friend' keyword in C Sharp? Bill_Thompson C# 2005 3 January 17th, 2009 01:33 PM
using members of a C Sharp class Bill_Thompson C# 2005 4 January 13th, 2009 06:04 PM
schedule C-Sharp process Derf ASP.NET 2.0 Professional 9 April 18th, 2008 10:21 PM
VB: .Exe file, serial code and activation code ivanlaw Pro VB 6 8 July 6th, 2007 05:44 AM
HOW TO EDIT THE MAC WITH C SHARP? ÄÏÔÚÄÏ·½ C# 0 June 23rd, 2006 02:38 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.