delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/06/07/15:33:03

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
Date: Tue, 7 Jun 2005 15:32:49 -0400
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Launching a cygwin binary from an application using CreateProcess Win32 API.
Message-ID: <20050607193249.GB31783@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
References: <20050607192754 DOT 64445 DOT qmail AT web54605 DOT mail DOT yahoo DOT com>
Mime-Version: 1.0
In-Reply-To: <20050607192754.64445.qmail@web54605.mail.yahoo.com>
User-Agent: Mutt/1.5.8i

On Tue, Jun 07, 2005 at 12:27:54PM -0700, Venkatesh Gopal wrote:
>Hi,
>
>I tried what is mentioned in the subject above but
>have not been successful.
>
>CreateProcess(...) returns the error 1305.
>
>From Winerror.h
>
>#define ERROR_UNKNOWN_REVISION           1305L
>
>Has someone tried this, or know the reason for the
>error.

Anyone can try this very easily by just double clicking on the Cygwin
icon or typing (e.g.) c:\cygwin\bin\ls.exe .  These would illustrate
cygwin binaries being started by CreateProcess.

You undoubtedly did not fill out some field or argument correctly when
invoking CreateProcess.  It's difficult to know exactly what might be
wrong since you didn't provide any details.

cgf

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019