Solved

Can VC.Net MFC application call C# DLL?

Posted on 2006-06-13
5
407 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Extention Methods in C# 3.0 by Ivo Stoykov C# 3.0 offers extension methods. They allow extending existing classes without changing the class's source code or relying on inheritance. These are static methods invoked as instance method. This…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

821 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