Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <3F8C0983.9010104@cs.york.ac.uk>
Date: Tue, 14 Oct 2003 15:34:43 +0100
From: chris <caj@cs.york.ac.uk>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5b) Gecko/20030723 Thunderbird/0.1
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: cygpath hangings
References: <20031014100230.A12215@fw.j-son.org> <006501c392b7$dc780730$200aa8c0@thorin> <3F8BE1B9.3000704@cs.york.ac.uk> <Pine.GSO.4.56.0310140914020.20462@slinky.cs.nyu.edu>
In-Reply-To: <Pine.GSO.4.56.0310140914020.20462@slinky.cs.nyu.edu>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Scanner: exiscan *1A9QFx-0001Yr-B6*8tqg8CdCPRs*

Chris,

>I suspect that this hang might be happening while loading the DLL.  Could
>you try to link your program with something like below and see if it still
>hangs, and what it outputs?  If it doesn't hang, try renaming
>SHGetPathFromIDList below to something else (e.g., foo) that calls the
>real SHGetPathFromIDList, call foo() from your fee() above, and link your
>program against both test_dll.dll and SHLWAPI.DLL.
>	Igor
>P.S. Please don't start new threads as replies to unrelated messages -- it
>confuses threaded readers.
>  
>
Can I just ask (and I could be about to deeply embarass myself I think). 
How do I link against particular .dlls? up until now I've just been 
writing " gcc file.c -o file"



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

