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 X-Apparently-From: Message-ID: <3BE19B6E.B43E38CF@yahoo.com> Date: Thu, 01 Nov 2001 13:58:54 -0500 From: Earnie Boyd X-Mailer: Mozilla 4.77 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: cygwin-developers AT cygwin DOT com Subject: Re: Is the application a cygwin application? References: <20011031224341 DOT A30640 AT redhat DOT com> <006001c162ff$09d1a000$a300a8c0 AT nhv> <20011101131206 DOT C672 AT redhat DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Christopher Faylor wrote: > > 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. > Since the files are opened anyway, probably not much. -- Earnie. _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com