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
|