Solved

Can VC.Net MFC application call C# DLL?

Posted on 2006-06-13
5
401 Views
Last Modified: 2011-10-03
Hello

I have a VC.Net MFC application. I want to improve the UI of the application using may be C# or VB.Net.How do i do it?

Can i use C# Dll ? Can VC.Net MFC application call C# DLL? if not then which other way can i integrate VC++ and C# code?


thanks (in advance)
0
Comment
Question by:Anisha
5 Comments
 
LVL 11

Expert Comment

by:Jase-Coder
ID: 16892508
you need to use the managed version of C++ to integrate both langauges
0
 
LVL 25

Accepted Solution

by:
dstanley9 earned 500 total points
ID: 16893942
You could also create a COM Callable wrapper (CCW) for your C# library that can be invoked from C++:

http://www.codeproject.com/dotnet/nettocom.asp
http://www.eggheadcafe.com/articles/20051019.asp
http://msdn2.microsoft.com/en-us/library/ms404285.aspx
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Is setting this variable making a duplicate in memory 4 28
XAML: Layout 8 25
Export import database 4 40
ASP.NET 5 Templates 2 65
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

930 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now