Re: [foxboro] OSISoft PI Startup on P90 Windows 2003 Server
- From: "Johnson, Alex P (IPS)" <alex.johnson@xxxxxxxxxxxxxxxx>
- To: <foxboro@xxxxxxxxxxxxx>
- Date: Tue, 21 Apr 2009 19:57:15 -0400
Corey,
Re: Shutting down
As always, things depend on the developer, but all of the things you are
concerned about are handled properly in a properly developed Windows
program.
Background programs (Windows Services) receive a signal to shutdown from
the Service Control Manager. A well written program handles that
request. The request can also come from the user. The user request
originates by stopping the service from the Services control panel.
Programs that care to can also handle some (but not all) of the signals
that a UNIX program would be expected to handle using the same calls.
Re: Porting
In fact, one can pretty readily port any UNIX program to Windows by
linking against oldnames.lib.
The exception is the use of fork(). There is a parent/child relationship
in fork() that is not fully supported by MS's OS and that leads to
various porting issues.
I dealt with it by #ifdef'ing a little code to use either fork() (for
Solaris) or CreateProcess() (for Windows) with some supporting code to
maintain source code compatibility. It wasn't that hard to do, but it's
irritating.
Whenever possible, I avoid using NutCracker's DLLs and LIBs directly.
This is generally quite possible.
Re: .Net Support
We run .Net on our I/A Series systems to support all of the InFusion ECS
components.
Hope this helps.
Regards,
Alex Johnson
Invensys Process Systems
10900 Equity Drive
Houston, TX 77041
+1 713 329 8472 (desk)
+1 713 329 1600 (operator)
+1 713 329 1944 (SSC Fax)
+1 713 329 1700 (Central Fax)
alex.johnson@xxxxxxxxxxxxxxxx
** Confidentiality Notice:
This e-mail, including any associated or attached files, is intended solely for
the individual or entity to which it is addressed. This e-mail is confidential
and may well also be legally privileged. If you have received it in error, you
are on notice of its status. Please notify the sender immediately by reply
e-mail and then delete this message from your system. Please do not copy it or
use it for any purposes, or disclose its contents to any other person.
This email is from the Invensys Process Systems business unit of the Invensys
Group, a group of companies owned by Invensys plc, which is a company
registered in England and Wales with its registered office at Portland House,
Bressenden Place, London, SW1E 5BF (Registered number 166023). For a list of
European legal entities within the Invensys Group, please go to
http://www.invensys.com/legal/default.asp?top_nav_id=77&nav_id=80&prev_id=77.
You may contact Invensys plc on +44 (0)20 7821 3848 or e-mail
inet.hqhelpdesk@xxxxxxxxxxxxx This e-mail and any attachments thereto may be
subject to the terms of any agreements between Invensys (and/or its
subsidiaries and affiliates) and the recipient (and/or its subsidiaries and
affiliates).
_______________________________________________________________________
This mailing list is neither sponsored nor endorsed by Invensys Process
Systems (formerly The Foxboro Company). Use the info you obtain here at
your own risks. Read http://www.thecassandraproject.org/disclaimer.html
foxboro mailing list: http://www.freelists.org/list/foxboro
to subscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
Other related posts: