473,698 Members | 2,747 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Monitoring events in my program and emailing reports

Pie
I like to have my program (running on my home machine)
email me (wherever I am) whenever it reaches a certain mile-stone
(finishes a phase of the simulation or runs into an interesting
path in the simulation). I just like add the feature so it can
email me the partial results. Is there a source code for
something like this I can add to my program? Do I need
an SMTP server code or can I use my current SMTP ISP smtp
server to email myself?

I know I can always write the results in d file on my web
server, but I want results emailed to myself when needed.

Thanks a lot in advance.

Ben
Jul 22 '05
13 1391
Jeff Schwab wrote:

Are you saying a pipe can't be implemented in C++?


I'm not 100% sure that I know exactly what you mean by "pipe", but the
C++ standard does not provide any means of communication between
processes, so I don't believe you can implement it in standard C++ (that
is, using the functionality provided by the C++ standard).

-Kevin
--
My email address is valid, but changes periodically.
To contact me please use the address from a recent posting.
Jul 22 '05 #11
Kevin Goodsell wrote:
Jeff Schwab wrote:

Are you saying a pipe can't be implemented in C++?

I'm not 100% sure that I know exactly what you mean by "pipe", but the
C++ standard does not provide any means of communication between
processes, so I don't believe you can implement it in standard C++ (that
is, using the functionality provided by the C++ standard).


There is no direct provision for pipes in the standard, just as there is
no direct support for GUI's. However, both can be implemented in C++.
If you just mean that pipes aren't mentioned in the C++ standard, then I
agree with you wholeheartedly. I don't think acknowledging that we do
have operating systems, and that these systems sometimes support pipes,
is off-topic in comp.lang.c++ though. If you want to stick to a strict
discussion of the ISO standard, check out comp.std.c++. I lurk there
myself.
Jul 22 '05 #12
Claudio Puviani wrote:
"Kevin Goodsell" <us************ *********@never box.com> wrote
Jeff Schwab wrote: [no you can't - yes I can redacted]


I think the problem here -- and it's a recurring one -- is in the phrasing of
that assertion. It's misleading toward beginners to state that "you can't do
[networking|grap hics|etc.] in Standard C++" and it's pejorative to C++ to imply
such an inability. The standard has never precluded using third party libraries
and a program that does use third party libraries doesn't suddenly become
non-conforming. If instead, it were phrased as "that functionality is not
included in the core language or the standard libraries and discussions of
third party or platform-specific libraries is off-topic in this newsgroup", it
would not mislead anyone into thinking it a limitation of C++, which it clearly
isn't.


Nicely phrased Claudio! I like it!
Jul 22 '05 #13
red floyd wrote:
Claudio Puviani wrote:
"Kevin Goodsell" <us************ *********@never box.com> wrote
Jeff Schwab wrote:

> [no you can't - yes I can redacted]


I think the problem here -- and it's a recurring one -- is in the
phrasing of
that assertion. It's misleading toward beginners to state that "you
can't do
[networking|grap hics|etc.] in Standard C++" and it's pejorative to C++
to imply
such an inability. The standard has never precluded using third party
libraries
and a program that does use third party libraries doesn't suddenly become
non-conforming. If instead, it were phrased as "that functionality is not
included in the core language or the standard libraries and
discussions of
third party or platform-specific libraries is off-topic in this
newsgroup", it
would not mislead anyone into thinking it a limitation of C++, which
it clearly
isn't.

Nicely phrased Claudio! I like it!


I agree. In this instance, I didn't mention any particular
platform-specific library, just a feature common to most general-purpose
operating systems. In the general case, though, I think you've summed
it up nicely.
Jul 22 '05 #14

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

Similar topics

2
2991
by: Count László de Almásy | last post by:
Greetings, I'm in need of a simple GUI application that "monitors" a range of hosts using ping and reports on their status by changing the panel color for that host (i.e, green for pingable, red for unreachable). Does anyone know of any existing opensource program that does this? Preferably Python so I can extend it easily. If not, what tools would you recommend I write this kind of app in?
5
1635
by: Wally | last post by:
Hi Hi need to monitoring my windows service written in VB NET. How can my monitor application "feel" that my service has made something? Is the only way a polling (for example on a Db table)? Can't service generate events into monitor application? Where can I retrieve examples about monitoring windows services? Thank in advance and... sorry for my english, but I'm Italian! :-)
7
5328
by: SQLDBA | last post by:
I am in the process of evaluating some SQL Performance Monitoring /DBA tool to purchase (For SQL Server 2000). I have the following list of software that I came across and have to finalize which one to recomend for purchase by my company. Quest Central® for SQL Server Performance Center by Embarcadero (dbartisan) Performance analysis by BMC Software solutions SQL Server Management by netIQ
3
2325
by: JSheble | last post by:
I have a windows service that in the OnStart it creates a thread and runs a loop forever and ever, assuming the service is running. The loop stops during the OnStop event, and everything works exactly as expected. I also have an application that monitors that service using the ServiceController component, and allows me to start & stop the service as needed, as well as poll for it's current status. Still everything thus far works and...
2
4131
by: Greg Allen | last post by:
I know this has been discussed before, and have found some documentation about it on the web. But nothing has fixed my problem. I am running the 1.1 .NET framework, SP1. I have a web application that I would like to place on a remote shared drive on a different computer. I had problems with that, so I simplified it so that I am trying to use a shared drive on the SAME computer. That doesn't work
9
3204
by: Tim D | last post by:
Hi, I originally posted this as a reply to a rather old thread in dotnet.framework.general and didn't get any response. I thought it might be more relevant here; anyone got any ideas? My questions are below... "David Good" wrote: > We have a network running both Win2k and Win2k3 webservers and our web sites > reside on a UNC network share that happens to be a Network Appliance NAS.
0
1306
by: developer | last post by:
I am trying to get a custom provider to receive health monitoring events in vb.net, whidbey beta 1. I have a health monitoring setup like this in my web.config: <healthMonitoring enabled="true"> <providers> <add name="LocalSQL" type="System.Web.Management.SqlWebEventProvider" connectionStringName="connLocalSQL" /> <add name="CustomProvider"
6
2477
by: Bob | last post by:
I have an app running 24 7 on a computer hiden away in a closet. I need to be able to monitor if it has thrown any unhandled exceptions or if it is no longer responding from another computer on the network. I also need a supervisor or a tech support guy to be advised ASAP when a problem occurs. One of the difficulties is that the app uses telephony card drivers from Dialogic and these sometimes go out to lunch also and we need to know when...
0
1013
by: athos | last post by:
Dear guys, Now we are trying to build an Audit-Log module for our projects. The idea is to 1. develop a module that could be used by different projects to save the log, including account management, master data, and transaction data actions. 2. based on the requirement of each project, use SSRS to define different reports showing corresponding logs
0
8611
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9031
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8904
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8876
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6531
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5867
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4372
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4624
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3052
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.