473,387 Members | 1,435 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

C# and MFC Shim

Can anyone point me to some information and examples of using the MFC Shim
with .NET. I've heard about it but can't find any good information or
examples. I have a project that has existing software that is being ported
from a C++ UI to a .NET UI; however, users of the old system want some of the
same UI enhancements right away. This is why we are developing some very
complex .NET Presentation and Business classes that I need to "shim" into the
old C++ application using MFC and COM. I have already gotten a "Strategy
Factory" working in C++ that allows the old code to blindly launch either the
old Property Sheet with the C++ Property Pages or a new Property Sheet that
is hosting a (simple for now) C# ActiveX control.

The senior architect here says that I am going to have to use this shim
"thingy" to hook up the plumbing; however, I did this once before with a VB6
app that need to hook up to the proxy of a C# remoted control and it worked
fine and we didn't need a shim.

I know there are others out there who have done this kind of thing
before. Please point me to some examples. Please do not respond with the
usual "well you need to port the whole thing to .NET" answers. That is part
of another project all together. The UI controls I am building will actually
be "re-used" there as well; however, we must provide the functionality to
this sub-group of our customer base now and port them to the re-designed
system later.

Thanks
--
jinksk
Senior Systems/Software Engineer
TCHMPS
Huntsville, AL

Jun 20 '06 #1
0 1121

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

16
by: Jay Donnell | last post by:
This is a basic version of my code for url in urls: fp = urllib.urlopen(url) lines = fp.readlines() #print lines for line in lines: #print line if(reUrl.search(line)):
8
by: David Girard | last post by:
I'm getting the following error which is no big deal - the problem is it is LOCATION specific - which has me really baffled... for some reason the error only appears on different machines in...
2
by: Jackson Yap | last post by:
can someone kind enough to help me look at the attached html and js file? Why is it that the javascript menu could not work at www.apchosting.net but could work at...
1
by: Martin Platt | last post by:
Hi, I'd like to make my C# usercontrol appear as an OCX does, so that I can import and use in a legacy environment. Is this possible? I hear a whisper of being able to put some registry values...
3
by: Jitender Singh Rawat | last post by:
Hi All, I am currently working on a project, which involves creating a COM Add-in using VB.Net, for MS Word 2003. As usual, I am creating few custom menu buttons under the File and Tool...
0
by: Seth | last post by:
For some reason my service works fine except that it will create the file in my c drive, but will not write to the file. Sorry if this is a duplicate post, i have found some that ask the same...
3
by: Paul | last post by:
Help, please, I can't get any addins working on a new machine. I registered the correct plugin names into the right registry location. I gave VSControlHostLib with a strong name, created the...
2
by: carl_bevil | last post by:
Hi all. I'm trying to do something that I think should be fairly simple. We have some COM objects that used to communicate directly with each other. I've created a "shim" object in C# that...
4
by: John Nagle | last post by:
MySQLdb, the Python shim for MySQL, still supports Python only to Python 2.5. See "http://sourceforge.net/projects/mysql-python". Are there any plans to support Python 2.6 or 3.x? John Nagle
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.