Re: C exe redirection blank file

2006-05-08 Thread René Berber
[EMAIL PROTECTED] wrote: [snip] > Incidentally I did have trouble with the serial port baud rate, and increased > programmatically for this program up to 38400 (from 9600). Would this have > any bearing? It's the same on both PCs (and same hardware attached to each on > the same port number). Don'

Re: C exe redirection blank file

2006-05-08 Thread [EMAIL PROTECTED]
Thanks again for your reply, René > cygcheck Did that. Gives me the same DLLs as the working one. > > Incidentally I'm run a one minute cron job (for the working process) - > > would that affect anything? > Could be, if the process runs more than once concurrently and tries to > access the same

Re: C exe redirection blank file

2006-05-06 Thread René Berber
[EMAIL PROTECTED] wrote: [snip] > Is there any way of checking which particular Windows.dll it could be > needing? cygcheck will list the dynamic libraries used. > Could there be any serial port setting that may be affecting it? I don't see how. > Incidentally I'm run a one minute cron job (

Re: C exe redirection blank file

2006-05-06 Thread [EMAIL PROTECTED]
Thanks again for your reply. > The normal exit does flush and close all open file descriptors, I thought that was the case, so had not worried about closing the files. > so what you are seeing is odd. I agree. I've used some varied Unix systems in the past, and never had this. > Now, the normal

Re: C exe redirection blank file

2006-05-05 Thread René Berber
[EMAIL PROTECTED] wrote: > Thanks for your reply, > >>> * Suddenly I could no longer redirect the output of this program, and the >>> two >>> files it created were now blank. >> [snip] > >> Did you forget to close the files > Thanks for that, that's fixed the writing of the files! Dunno why th

Re: C exe redirection blank file

2006-05-05 Thread [EMAIL PROTECTED]
Thanks for your reply, > > * Suddenly I could no longer redirect the output of this program, and the > > two > > files it created were now blank. > [snip] > Did you forget to close the files Thanks for that, that's fixed the writing of the files! Dunno why that's happened only on this machine.

Re: C exe redirection blank file

2006-05-05 Thread René Berber
andyburgess wrote: > I have been developing a system with the wonderful Cygwin and have > encountered a problem today. A program I was developing on a development PC I > copied over to the 'live' box (through network). This program produces two > fopen'ed files written with fprintf. > > Summary o

C exe redirection blank file

2006-05-05 Thread andyburgess
Hi there, I have been developing a system with the wonderful Cygwin and have encountered a problem today. A program I was developing on a development PC I copied over to the 'live' box (through network). This program produces two fopen'ed files written with fprintf. Summary of issue: * Suddenly I