Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com Date: Thu, 1 Nov 2001 13:12:06 -0500 From: Christopher Faylor To: cygwin-developers AT cygwin DOT com Subject: Re: Is the application a cygwin application? Message-ID: <20011101131206.C672@redhat.com> Reply-To: cygwin-developers AT cygwin DOT com Mail-Followup-To: cygwin-developers AT cygwin DOT com References: <20011031224341 DOT A30640 AT redhat DOT com> <006001c162ff$09d1a000$a300a8c0 AT nhv> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <006001c162ff$09d1a000$a300a8c0@nhv> User-Agent: Mutt/1.3.21i On Thu, Nov 01, 2001 at 01:00:05PM -0500, Norman Vine wrote: >Christopher Faylor writes: >> >>Does anyone know of a really easy, cheap way to scan a .exe header >>and determine if the exe loads cygwin1.dll? > >I don't think it gets much cheaper then what is done in >cygcheck : dll_info() Hey! Good point. Thanks for pointing this out. I've even modified this code myself. *blush* Anyway, This looks like exactly what I need. I wonder how much it will slow things down if I add this to the exec code. cgf