X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org From: "Dave Korn" To: References: <836045 DOT 82708 DOT qm AT web33207 DOT mail DOT mud DOT yahoo DOT com> <476A726D DOT 50100 AT byu DOT net> <476A78EF DOT 2322FB0A AT dessent DOT net> <5hraHx3lQbDL092yn AT verizon DOT net> Subject: RE: cygwin 1.5.25-7: cygcheck does not work? Date: Fri, 21 Dec 2007 02:08:28 -0000 Message-ID: <047c01c84376$607436d0$2e08a8c0@CAM.ARTIMI.COM> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <5hraHx3lQbDL092yn@verizon.net> Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On 20 December 2007 18:46, Jeff wrote: > This is exactly why I have 'File Monitor' from Sysinternals on my > system. Whenever I have an app that fails to start and produces some > incomprehensible error message (relative to my setup, current state of > my system, location of files, etc.), I run 'File Monitor' to see if the > app is looking for libraries or other crucial files and not finding > them. FYI, cygcheck also does that. > I've found very few apps that are able to tell the user when a library > file is missing-- the SOP of just calling library functions from within > your code and then linking against an import library includes, as far > as I know, no mechanism to do that (unless, perhaps, it is somehow > built into the library). In most cases, if the file is missing, it > would seem that the results are undefined-- in my experience, though, > the app usually exits with some sort of baffling error message. Yep. It's a limitation of both the LoadLibrary() *and* the dlopen() function that they can't tell you /which/ file was missing. cheers, DaveK -- Can't think of a witty .sigline today.... -- 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/