RE: Driving a C# application using an unmanaged MFC application
- From: stcheng@xxxxxxxxxxxxxxxxxxxx ("Steven Cheng")
- Date: Fri, 14 Mar 2008 06:22:43 GMT
Hi Marek
Based on the issue description you provided, I think what you need to do is
make the MFC application communicate with (or event control) another C#
application, correct?
For communication between two processes, those general inter-process
communication approach should work. And in .NET framework, there are some
net specific approach such as remoting or webservice. However, since one
of your application is MFC, you may consider some other more raw approach
such as sockets communication or windows message...
Are both of the two applications' code controled at your side(so that you
can determine the way they will communication)?
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg@xxxxxxxxxxxxxx
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
From: =?Utf-8?B?TWFyZWs=?= <dnv21@xxxxxxxxxxxxxxxx>
Subject: Driving a C# application using an unmanaged MFC application
Date: Thu, 13 Mar 2008 03:06:02 -0700
Hi
We have a C# application that we need to "drive" using an MFC application.
The kinds of things we need to do are to instantiate the C# applicationand
tell it to load a certain file and then take certain actions. It wouldalso
be good if the C# application could somehow post/fire messages/events backto
the MFC application. I know that a lot of this kind of thing can be done
using StartProcess, SendKeys etc. nad that COM might be an option, but I
wanted some feedback as to the best way of tackling this problem.
Best regards
Marek
.
- Follow-Ups:
- Prev by Date: Re: Queuing Up Threads - Thread Works Until Needing Resource From Other Thread
- Next by Date: Comparing Type variables
- Previous by thread: Queuing Up Threads - Thread Works Until Needing Resource From Other Thread
- Next by thread: RE: Driving a C# application using an unmanaged MFC application
- Index(es):
Relevant Pages
|