Re: Not sure what the problem is...

2006-04-15 Thread The One
dah, thanks brian it's missing sh.exe on the system. --- Brian Dessent <[EMAIL PROTECTED]> wrote: > The One wrote: > > > Well, I'm runing the program on computer that does > not > > have cygwin installed. I just put a copy of the > > cygwin1.dll in th

Re: Not sure what the problem is...

2006-04-15 Thread The One
very much if you can help me to get it to recognize posix path. --- Brian Dessent <[EMAIL PROTECTED]> wrote: > The One wrote: > > > I have this C program running on windows xp and > it's > > calling system("ls -la c:\mydir > > > c:\mydir\tmp\lookup.

Re: Not sure what the problem is...

2006-04-15 Thread The One
gram runs in other computers running windows xp, just not running on this particular machine. --- Brian Dessent <[EMAIL PROTECTED]> wrote: > The One wrote: > > > I have this C program running on windows xp and > it's > > calling system("ls -la c:\mydir > &g

Not sure what the problem is...

2006-04-15 Thread The One
Hi I have this C program running on windows xp and it's calling system("ls -la c:\mydir > c:\mydir\tmp\lookup.txt") to list "mydir" and pipe the result to a file "lookup.txt" the subdirectory "tmp". For some reason it's not able to create the file "lookup.txt" on this particular computer. The

Program doesn't work when running as a service in windows

2005-09-27 Thread The One
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 fi

fopen cannot open device name on windows xp

2005-09-24 Thread The One
Hi Jason, Sorry to have to send this to you. I've been looking for answer and have posted this on the forum but no luck so far. I remember your name from a few responses on my previous posts. I believe you're very experience and knowledgeable in cygwin. Hope you can give me some hints as why f

fopen cannot open device name for network printer in windows xp

2005-09-23 Thread The One
Hi, I've a c program that prints to network printer by getting a filehandle from fopen("\\computer1\printer1", "wb"). That has always worked on Windows 95, 98 & 2000. When it's running under windows xp (sp1 or sp2), fopen returns a NULL. Has any one had a similar problem? Is there a solution