You
may want to also look at SRVANY. This is a Windows RSK Tool
that controls a stand-alone executable and let it run in the background as
a service. I've successfully used PerlApp to compile a perl script with
Win32:odbc.
I've
used both SQL Select and SQL Update logic within the compiled perl executable.
This script runs in the background as an emulated service via
SRVANY.
SRVANY
doesn't have all the controls over the executable as a normal service, such as
pause and stopping execution of the executable when the service
stops. To stop the executable, you need to kill the process.
There are cmd line tools that allow this that are better than Windows
TaskMan.
Depending on what your looking for, SRVANY may provide what you
need.
Kirk W. Batzer
Enterprise Systems and
Operations
Rutgers University
65 Davidson Rd.
Piscataway, NJ 08854
Phone: (732) 445-6266
Fax: (732) 445-5493
Email: [EMAIL PROTECTED]
65 Davidson Rd.
Piscataway, NJ 08854
Phone: (732) 445-6266
Fax: (732) 445-5493
Email: [EMAIL PROTECTED]
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Thursday, September 08, 2005 12:03 PM
To: [email protected]
Subject: wanting to use Win32::ODBC in a service
All, I have a script/service that was using the Oracle DBI, and I want to convert it over to using an ODBC connection. I got the script to compile as a svc. then when I started it, it fired correctly, but the service would not stay running while using the Win32::ODBC, I am begining to wonder if that is even possible? also I am new to this group, can someone point me to some examples that may be posted somewhere? Thanks
BrianCONFIDENTIALITY NOTICE: This electronic transmission (including any accompanying attachments) is intended solely for its authorized recipient(s), and may contain confidential and/or legally privileged information. If you are not an intended recipient, or responsible for delivering some or all of this transmission to an intended recipient, be aware that any review, copying, printing, distribution, use or disclosure of the contents of this message is strictly prohibited. If you have received this electronic message in error, please contact us immediately by electronic mail at [EMAIL PROTECTED] or notify us immediately by telephone at 1-800-345-2021 or 816-531-5575 and destroy the original and all copies of this transmission (including any attachments). Thank you.
_______________________________________________ ActivePerl mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
