delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/12/18/09:11:22

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:reply-to:to:subject:message-id:date
:mime-version:content-type:content-transfer-encoding; q=dns; s=
default; b=qy6/bakNgDDXURd2xl/IFTUhG+dLZ3hEuAp5VVVPEc7+U4Kg1kIcT
w2zwLRZSkSbaP9X6BK5nlzBQDc4IM8Ay782jQgpsCi8D6+y4GzEnRdNoisM14Q7G
ynCG7tFCKKq97rlH7atWljARTV9ZfUb4RxHOOG1BwnteRL+n760gDc=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:reply-to:to:subject:message-id:date
:mime-version:content-type:content-transfer-encoding; s=default;
bh=nm/a7J90kbZ7QSd6HZ6jkHS92F0=; b=KXI93yCqHb/qW4jX4b2xdifvP82F
DoFkXVAFVUlQfocZJ7kYWoQna19H9amsldBusyRRU0ZEYBsaNsNhsz7yWda6YjVP
SJqK24JpUEIGxRjhoRvh3kdIHdhlw119KWAZQ+K5R16diBQxJFD0PK50DmeEiwTS
ETclY3R8JAt5FLM=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.0 required=5.0 tests=AWL,BAYES_00,KAM_COUK,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=dll, visual, DLL, pexports
X-HELO: mail-wm0-f45.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:reply-to:to:subject:organization:message-id :date:user-agent:mime-version:content-type:content-transfer-encoding; bh=ip5rVHafssYeZ4f5ZyxQx6xFAN9CnFedthJv72nGeXw=; b=H1eYKD8m2Is5XpBBoVCm9OhFJUPHQnI2pAMjQnBwojXAjoTeAO+ZrA6NOO3U0aQ9Io ldVuxS39OsDpJo8bK5OjF1FF7nYsi07ISqOW+9fR0maltJbjoBBldbIp1qLtEoKFQs5q 0LJbnmIHCMBZ+g8/BKuXLJ2XpOMx4xqKrc4TE70+9XNyXqFBy8lF89BsFGRdmSw61LMz zTSNIVPq88VmGd32T3kMfSQRpi3Qvq5hny75vhZSbGGx8vTtN0ciJYP21aueaL86eM0g DRcQH+OYEoFLghk+C1NBunJJnVs5Ba5PMOindStZ+dN9y1Lb3ykAVxgiyy/4HAKV2V9+ jcbg==
X-Gm-Message-State: ALoCoQnOkx2Fgz0HbjwCNqrCv/clsEYalxlSdNd+0LEXbU3+DI+viFRzRk5/9uoMfOdCW470gA61x/KlUG9fTpkGtkMDPDsxsQ==
X-Received: by 10.28.100.84 with SMTP id y81mr3645751wmb.48.1450447865362; Fri, 18 Dec 2015 06:11:05 -0800 (PST)
From: Philip Taylor <pbt AT observatorysciences DOT co DOT uk>
Reply-To: pbt AT observatorysciences DOT co DOT uk
To: cygwin AT cygwin DOT com
Subject: Re: Problems using a DLL with Cygwin 64 bit
Message-ID: <567413F7.8070904@observatorysciences.co.uk>
Date: Fri, 18 Dec 2015 14:11:03 +0000
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Firefox/38.0 SeaMonkey/2.35
MIME-Version: 1.0

Thank you for the reply. My situation is this: I was supplied Windows 32-bit and 
64-bit .dll and .lib files by the manufacturer, which I believe were created using 
MS Visual Studio. These are to enable me to use the API for this camera from my 
software.

Building using GCC tools with cygwin, my initial attempt at linking with this API 
library failed with the message : "error adding symbols: File in wrong format.".

I then discovered that by creating and using a new .lib file for this API DLL, using 
the pexports and dlltools utilities, I could get the link to succeed.

Then (under 64 bit Cygwin) I got the message "*** fatal error - cygheap base 
mismatch detected".

What exactly did you mean by "You're not trying to load the Cygwin DLL at runtime 
dynamically?". I am trying to build this application under Cygwin in the same way as 
many others, which all run OK,


Philip Taylor


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019