Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Can VC.Net MFC application call C# DLL?

Posted on 2006-06-13
5
Medium Priority
?
413 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 2000 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

This article describes a simple method to resize a control at runtime.  It includes ready-to-use source code and a complete sample demonstration application.  We'll also talk about C# Extension Methods. Introduction In one of my applications…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

609 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