| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Message-ID: | <20050928023905.9468.qmail@web33901.mail.mud.yahoo.com> |
| Date: | Tue, 27 Sep 2005 19:39:05 -0700 (PDT) |
| From: | The One <i51359 AT yahoo DOT com> |
| Subject: | Program doesn't work when running as a service in windows |
| To: | cygwin AT cygwin DOT com |
| MIME-Version: | 1.0 |
| X-IsSubscribed: | yes |
Hi,
The C program runs fine in Dos prompt or Cygwin Shell.
When run as a service, it's not working. The service
is started without error. The program checks for
files in a directory, if there's a file it will print
to the network printer by calling
fopen("//computername/printer", "w"). I'm finding out
the when it's running as a service, fopen is returning
NULL.
Thank you
__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |