X-Spam-Check-By: sourceware.org Message-ID: <452A7D8B.4040801@cygwin.com> Date: Mon, 09 Oct 2006 12:49:15 -0400 From: "Larry Hall (Cygwin)" Reply-To: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.7) Gecko/20060916 Fedora/1.5.0.7-1.fc4.remi Thunderbird/1.5.0.7 Mnenhy/0.7.4.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Problem running cygwin with 3rd party dll References: <2585 DOT 128 DOT 227 DOT 55 DOT 228 DOT 1160361615 DOT squirrel AT webmail DOT kinostudios DOT com> <4529BD4F DOT 3070708 AT cygwin DOT com> <2701 DOT 128 DOT 227 DOT 11 DOT 163 DOT 1160367564 DOT squirrel AT webmail DOT kinostudios DOT com> In-Reply-To: <2701.128.227.11.163.1160367564.squirrel@webmail.kinostudios.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 greg kinostudios com wrote: > Larry Hall wrote: >> Sounds to me like you have a case of: >> >> >> >> But noticing your environment calls out two other things. You have a >> pretty >> old version of Cygwin (1.5.19) in your installation directory >> (C:/cygwin/bin) >> and an *ancient* version (1.3.22) in your c:/WinAVR/bin directory. Both >> are >> visible in your path. That's a *big no-no*. I suggest removing the >> ancient >> version. You should also consider upgrading your older installation at >> some >> convenient time in the future. > Thanks for the reply. I'm new to cygwin (and windows development) so I > still don't understand a lot of this. I've replaced the cygwin1.dll file > with the latest snapshot and removed the WinAVR stuff from the Path > environment variable (not my computer, don't even know what that is), but > the problem persists. > > What's interesting is that I get a different error telling me that the > camera could not be found if it's not plugged in (and the library even > prints an error via fprintf), and this error if it is plugged in, so it > definitely seems like it's trying to run driver code and crashing. > > I'm not sure what you mean when you refer to MSVCRT*.DLL (again, I'm new > to windows). > > Just in case I screwed something up, I'm attaching the latest > configuration information again. > > MSVCRT*.DLL is the VC++ C runtime. Cygwin has it's own so you have to be *real* careful to not mix the two in any way. Doing so can cause crashes. Your environment in general looks OK now. I see that you're even trying a snapshot of the Cygwin DLL. Good for you! ;-) This is somewhat bleeding edge code though so if you suspect an issue is Cygwin-based, drop back to 1.5.21 (or 1.5.19 if you must) to make sure that it's not something new. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 -- 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/