Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
From: Mark Gordon <mark.cygwin@ruddygore.net>
To: Jorge Goncalvez <goncal11@col.bsf.alcatel.fr>, cygwin@sources.redhat.com
Subject: Re: system not working as expected
Date: Thu, 04 Oct 2001 14:49:41 +0100
Organization: Only Occasionally
Reply-To: cygwin@sources.redhat.com
Message-ID: <vrportonnlen5j3sok50382efbpiq2u5m3@4ax.com>
References: <200110041339.PAA10383@cabs40.col.bsf.alcatel.fr>
In-Reply-To: <200110041339.PAA10383@cabs40.col.bsf.alcatel.fr>
X-Mailer: Forte Agent 1.8/32.553
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

On Thu, 4 Oct 2001 15:38:57 +0200 (MEST), Jorge Goncalvez
<goncal11@col.bsf.alcatel.fr> wrote:

>I have made an application in C code it runs great if I launched it from Cygwin 
>Bash shell but if I launched it from Dos shell the call of system fails.
>Why?My cygcheck is 

<snip>

>  678k 2001/05/21 C:\WINDOWS\SYSTEM\cygwin1.dll

Well, to start with you are not meant to put cygwin1.dll in your
system directory. It should only be in C:\cygwin\bin\ where the setup
program puts it.

If you want to call cygwin applications from Dos shells or windows
programs then add C:\cygwin\bin\ to your normal Dos path.
-- 
Mark Gordon - To email me replace spamtrap with mark.gordon
	If at first you dont suceed, cheat.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

