Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / October 2003

Tip: Looking for answers? Try searching our database.

Calling C++.NET code from C#.NET code

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
David Elliott - 31 Oct 2003 22:11 GMT
I have source code for a 3rd party product.  The product is written for traditional C++.  There
was a VS .NET Solution File that was provided for compiling the DLL.  

I have compiled the code using the VS .NET 2003 C++.NET and am now trying to build some
demos to test the features.

My question is, How do I call the methods in the DLL and how do I know what namespace
to use with the the "using" statement inside of a C# project?

Thanks,
Dave
David Elliott - 31 Oct 2003 23:33 GMT
It looks like I will be using the DLL in the traditional C++ format (i.e. Compiled with VC++ 6.0)
So I have an example for future reference if anyone has an example of doing it both ways
(i.e. calling C++ and C++.NET from C#.NET), I would appreciate it.

Thanks,
Dave

>I have source code for a 3rd party product.  The product is written for traditional C++.  There
>was a VS .NET Solution File that was provided for compiling the DLL.  
[quoted text clipped - 7 lines]
>Thanks,
>Dave

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.