Re: Inconsistent behavior for Win32 executable: starting from bashvs. starting from cmd.exe

2005-07-11 Thread Ljubomir Milanovic
Hi, Thanks for hints from Igor Pechtchanski and Dave Korn. The problem was indeed PATH variable on cygwin side. I made a typo and defined PATH under cmd.exe only as cygwin\bin directory and same invalid address error was result (surprise, surprise :). After few trial/error cycles the fix was to ad

Re: Inconsistent behavior for Win32 executable: starting from bashvs. starting from cmd.exe

2005-07-11 Thread Ljubomir Milanovic
Igor Pechtchanski wrote on 11.07.2005 17:25:34: > On Mon, 11 Jul 2005, Ljubomir Milanovic wrote: > > > > > DWORD cbBuff = 2048;// Size of Buffer > > TCHAR szBuff[2048]; // Buffer to receive information > > > > UNIVERSAL_NA

Inconsistent behavior for Win32 executable: starting from bash vs. starting from cmd.exe

2005-07-11 Thread Ljubomir Milanovic
Hi, I have a problem that same executable has different behavior depending on parent shell (bash vs. cmd.exe). Executable is compiled with MS Visual Studio and it is a console application. Source code can be found below. In a nutshell, program converts a "drive" path to UNC path by using WNetGetU

Re: cygwin - novell interaction

2002-11-08 Thread ljubomir . milanovic
Hi, Just few words as a conclusion for Novell/cygwin problem. In the meantime I could reproduce problem with cygwin-independent C program (compiled by MS Visual Studio). The problem ocures if many processes open/close files on novell network very rapidly (MS batch is probably too slow to reproduc

Re: cygwin - novell interaction

2002-11-05 Thread ljubomir . milanovic
Hi, I can not reproduce the problem using the DOS batch script. For the batch script: --- Rem run forever :lab1 find "someString" n:\path\to\file goto lab1 --- everything is fine (of course, maybe is M$ just too slow to reproduce the problem ;) Whe

cygwin - novell interaction

2002-11-05 Thread ljubomir . milanovic
Hi, I'm using cygwin 1.3.12-2 on a Win2000 connected to a Novell network. My problem is that if I access a network files rapidly the network connection breaks down after few seconds (10-20) and remote server is not accessible (also not for windows tools). The problem is hard to reproduce (often i

Re: setup with empty proxy password

2002-04-18 Thread ljubomir . milanovic
Hi, > Your question implies that you're having some kind of troubles using > setup.exe but you don't say whats wrong. Would you share the details > with us so we can answer your question. Sorry for beeing unprecise. My internet acsess setup is solved by an "automatic configuration script" proxy

setup with empty proxy password

2002-04-18 Thread ljubomir . milanovic
Hi, Just a simple question: How to use setup (IE settings) when proxy password is empty? Bye, Ljubo -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: ht