473,511 Members | 14,933 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

InterProcess Communication, .Net to C++ communication

Hello all,

I need suggestions and possibly solutions to the problem stated below:

I have an application written purely in .NET ( Windows Form
Application) and another application that is supposed to be written in
MFC(Visual C++) or Win32 GUI Application. The problem is to communicate
data between the two applications.

for example,

If i click a button in .NET GUI application, the data(some text) shuld
be sent to the VC++ GUI application.

Both the .NET and VC++ application will run on the same PC. One option
that seems applicable is to use sockets for data communication between
the two applications. But since both application will run on the same
PC, I thought if there were some other faster options available. Like
interprocess communication etc.

Need ur thought on this.

Thanks
Cheers...

Bye

Oct 12 '06 #1
4 2069
Just a guess, but could you use Remoting? Or is that only in the CLR?

"batista" <sa*********@gmail.comwrote in message
news:11**********************@c28g2000cwb.googlegr oups.com...
Hello all,

I need suggestions and possibly solutions to the problem stated below:

I have an application written purely in .NET ( Windows Form
Application) and another application that is supposed to be written in
MFC(Visual C++) or Win32 GUI Application. The problem is to communicate
data between the two applications.

for example,

If i click a button in .NET GUI application, the data(some text) shuld
be sent to the VC++ GUI application.

Both the .NET and VC++ application will run on the same PC. One option
that seems applicable is to use sockets for data communication between
the two applications. But since both application will run on the same
PC, I thought if there were some other faster options available. Like
interprocess communication etc.

Need ur thought on this.

Thanks
Cheers...

Bye

Oct 12 '06 #2
The easiest way I can think of is to create a COM+ component for your VC++
application. Your winforms application should have no trouble calling it.

Steve

"batista" wrote:
Hello all,

I need suggestions and possibly solutions to the problem stated below:

I have an application written purely in .NET ( Windows Form
Application) and another application that is supposed to be written in
MFC(Visual C++) or Win32 GUI Application. The problem is to communicate
data between the two applications.

for example,

If i click a button in .NET GUI application, the data(some text) shuld
be sent to the VC++ GUI application.

Both the .NET and VC++ application will run on the same PC. One option
that seems applicable is to use sockets for data communication between
the two applications. But since both application will run on the same
PC, I thought if there were some other faster options available. Like
interprocess communication etc.

Need ur thought on this.

Thanks
Cheers...

Bye

Oct 12 '06 #3
SoxFan44, although ive never used .net remoting, but i think its only
in the clr...and can only be used for .net to .net interprocess comm.

SoxFan44 wrote:
Just a guess, but could you use Remoting? Or is that only in the CLR?

"batista" <sa*********@gmail.comwrote in message
news:11**********************@c28g2000cwb.googlegr oups.com...
Hello all,

I need suggestions and possibly solutions to the problem stated below:

I have an application written purely in .NET ( Windows Form
Application) and another application that is supposed to be written in
MFC(Visual C++) or Win32 GUI Application. The problem is to communicate
data between the two applications.

for example,

If i click a button in .NET GUI application, the data(some text) shuld
be sent to the VC++ GUI application.

Both the .NET and VC++ application will run on the same PC. One option
that seems applicable is to use sockets for data communication between
the two applications. But since both application will run on the same
PC, I thought if there were some other faster options available. Like
interprocess communication etc.

Need ur thought on this.

Thanks
Cheers...

Bye
Oct 16 '06 #4
Steve, thanks for the suggestion. I'll give it a try.

Steve Edmans wrote:
The easiest way I can think of is to create a COM+ component for your VC++
application. Your winforms application should have no trouble calling it.

Steve

"batista" wrote:
Hello all,

I need suggestions and possibly solutions to the problem stated below:

I have an application written purely in .NET ( Windows Form
Application) and another application that is supposed to be written in
MFC(Visual C++) or Win32 GUI Application. The problem is to communicate
data between the two applications.

for example,

If i click a button in .NET GUI application, the data(some text) shuld
be sent to the VC++ GUI application.

Both the .NET and VC++ application will run on the same PC. One option
that seems applicable is to use sockets for data communication between
the two applications. But since both application will run on the same
PC, I thought if there were some other faster options available. Like
interprocess communication etc.

Need ur thought on this.

Thanks
Cheers...

Bye
Oct 16 '06 #5

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

Similar topics

2
400
by: Jeroen | last post by:
Question, We are in the process of creating a windows service in C#. Another GUI application, also written in C# has to communicate from another machine to this service. What is the best...
7
442
by: Daniel | last post by:
I search for a good way to communicate between processes. I have a main application(might be more instances) and an tool that should exchange information such as which user is logged in into the...
4
2151
by: Charles Packer | last post by:
I need to do the following simple interprocess communication (IPC) among these processes that are all on the same box: -- A daemon waits for "I'm here" announcements from multiple clients -- One...
3
4785
by: James Aguilar | last post by:
Oh wise readers of comp.lang.python, Lend a newbie your ears. I have read several old articles from this group about memory mapping and interprocess communication and have Googled the sh** out...
7
2047
by: Michael Butscher | last post by:
Hi, this is not really Python-specific but I need it for Python. I'm wanting a method for interprocess communication which is OS- independent (sockets would be the normal way to go), but which...
1
5236
by: batista | last post by:
Hello all, I need suggestions and possibly solutions to the problem stated below: I have an application written purely in .NET ( Windows Form Application) and another application that is...
0
1481
by: Murali | last post by:
Hi Python Gurus, I am writing a GUI app (on linux) using pygtk which would launch some external applications and display their stdout and stderr inside the output window of my application...
2
1780
by: Murali | last post by:
Hi Python Gurus, I am writing a GUI app (on linux) using pygtk which would launch some external applications and display their stdout and stderr inside the output window of my application...
3
4074
by: madankarmukta | last post by:
Hi all, I am very new to Implementation of the Interprocess communication.I am trying to implement the concept in c++.I created the pipe using Createnamedpipe() function ,connecting to that pipe...
0
7237
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
7137
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
7417
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...
1
7074
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...
0
7506
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
4734
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3210
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
780
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
445
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.