Solved

Can VC.Net MFC application call C# DLL?

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

This article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
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.
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…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

777 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