473,396 Members | 1,891 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,396 software developers and data experts.

How to communicaton between two applications

Hi

I have lots applications are already written by C++. It 's easy to use
PostMessage in one application and catch this message in another
application's WndProc Function.
Since .net have some powerful library. I use C# to develop new
application. But I do not know how to using simlar function in C# to
communication to my exist C++ application.
Any help would be appreciate.

George chen
Jul 21 '05 #1
1 1333
You can override the Form's WndProc to recieve and use API calls
(SendMessage) to send messages
check http://pinvoke.net to see how to import WinAPI calls to C# code.
Another solution is .NET remoting, which is preferable when communicating
between two .NET applications.
http://tinyurl.com/7z6v
"George Chen" <ge****@compuwave.net> wrote in message
news:u6**************@TK2MSFTNGP15.phx.gbl...
Hi

I have lots applications are already written by C++. It 's easy to use
PostMessage in one application and catch this message in another
application's WndProc Function.
Since .net have some powerful library. I use C# to develop new
application. But I do not know how to using simlar function in C# to
communication to my exist C++ application.
Any help would be appreciate.

George chen

Jul 21 '05 #2

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

Similar topics

0
by: Constandinos Mavromoustakis | last post by:
CFP: CLADE 2004-Challenges of Large Applications in Distributed Environments ------------------------------------------------- PhD student - Dept.Informatics at Aristotle University of...
1
by: Tom Q | last post by:
A user has multiple applications running on his/her PC and I want to create a broker component or service that is shared among the multiple apps. Each time an application changes a record it...
385
by: Xah Lee | last post by:
Jargons of Info Tech industry (A Love of Jargons) Xah Lee, 2002 Feb People in the computing field like to spur the use of spurious jargons. The less educated they are, the more they like...
6
by: Ray | last post by:
DB2 V7.2 Is it possible to list applications connected to a node by Auth ID? Is it possible to force applications connected to a node by Auth ID or am I forced to use App. Handle? Thanks, Ray
6
by: Terry Bell | last post by:
We've had a very large A97 app running fine for the last seven years. I've just converted to SQL Server backend, which is being tested, but meanwhile the JET based version, running under terminal...
5
by: Prakash T. | last post by:
Dear friends, This is Prakash from in India at tamilnadu. I am a MCA Student. Please answer the Que: Mention the type of applications which can be developed using C language? Thanks and...
16
by: George Chen | last post by:
Hi I have lots applications are already written by C++. It 's easy to use PostMessage in one application and catch this message in another application's WndProc Function. Since .net have some...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...

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.