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

Interapplication comunication

Hi,
I need to acheive something, but I am not sure which technology should
I use. My best guess is Remoting, followed by Sockets.

Here is what I want to achieve.
Every one uses the Debug.Write/WriteLine. It is very handy.
I would like to mimic this functionality. Let's say I have some app, or
bunch of apps running on a machine. I want to start other app, let's
call it "Monitor", which should receive notifications from the others
and display them to the user.

The apps, which should generate the information must be capable to find
out if the Monitor app is running, and fetch the information to it. The
code for this shouldn't be CPU consuming.

Any ideas?

Nov 21 '05 #1
2 870
Hi Nikolay

There are API functions DebugActiveProcess, WaitForDebugEvent and others
that you can use to attach to a running process and receive debug output.

HTH

Charles
"Nikolay Petrov" <jo******@mail.bg> wrote in message
news:11**********************@g47g2000cwa.googlegr oups.com...
Hi,
I need to acheive something, but I am not sure which technology should
I use. My best guess is Remoting, followed by Sockets.

Here is what I want to achieve.
Every one uses the Debug.Write/WriteLine. It is very handy.
I would like to mimic this functionality. Let's say I have some app, or
bunch of apps running on a machine. I want to start other app, let's
call it "Monitor", which should receive notifications from the others
and display them to the user.

The apps, which should generate the information must be capable to find
out if the Monitor app is running, and fetch the information to it. The
code for this shouldn't be CPU consuming.

Any ideas?

Nov 21 '05 #2

Have a look at the Trace functions and the TraceListeners.

1) By default Trace functionality is available in both debug and
release versions of the code but Debug doesn't work in the release
version.

2) By modifying the App.Config file one can add a Trace listener at
runtime to display the messages produced by Trace

3) There are 5 levels of (4 and off) Trace messages to allow one to
filter the messages displayed - this can be configured at runtime.
hth,
Alan.

Nov 21 '05 #3

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

Similar topics

3
by: Zunbeltz Izaola | last post by:
Hi I'm writting a program to get data from a machine. I'm using wxPython to build the GUI. I've a mehtod in a class that get the data, something like this: data = def Measure(self): do...
6
by: Zunbeltz Izaola | last post by:
Hi, I have the following problem. I'm developing a GUI program (wxPython). This program has to comunicate (TCP) whit other program that controls a laboratory machine to do a measurement. I...
0
by: Dr Gui | last post by:
Public methods on the form to get & set the properties required is what you need here.. >-----Original Message----- >Hi, > >I have a form where i start the program. Then, i must do some work...
1
by: Matej Kavèiè | last post by:
Hello I have one question. I see some demos in Share Portal service, where we have some web part which search for documents but when we press button the results is also set in other web part....
1
by: zurg | last post by:
Hi! I need my program to communicate with windows service wich I have also wroten (sending/reciving information). I was using CustomCommand function but it aloves me to send only numbers - I have...
0
by: zunbeltz | last post by:
Hi, I'am writing a program to cotrol a machine. I use socket comunication (TCP) to do it. I do a measurement in my machine like this: def DoMeasurement(): setup1() setup2() while...
11
by: Olie | last post by:
This post is realy to get some opinions on the best way of getting fast comunication between multiple applications. I have scowered the web for imformation on this subject and have just found...
2
by: findyasir | last post by:
Hi all, I am having problem comunication with serial port in linux. I have tested the serial port with attaching a serial modem and dialing the numbers with wvdial. it works okie but when i...
2
by: vhm | last post by:
Hi all, I have to debug a hardware that comunicate with the computer through a USB conection. I know that the harware present some problem when the driver send some type of command to it. I'll like...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.