delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/09/16/15:57:45

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
From: "Suhaib M. Siddiqi" <ssiddiqi AT ipass DOT net>
To: "Thomas Kowatsch" <Thomas DOT Kowatsch AT stest DOT ch>,
"Cygwin List" <cygwin AT sourceware DOT cygnus DOT com>
Subject: RE: automatic relocation problem? (WAS: problem with 3rd party lib)
Date: Thu, 16 Sep 1999 15:55:41 -0400
Message-ID: <LOBBLPGIHMIEGBEAFDMCCEAOCBAA.ssiddiqi@ipass.net>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
In-Reply-To: <37E0EC83.2BA19012@stest.ch>
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211


> 
> Earnie Boyd wrote:
> 
> > --- Thomas Kowatsch <Thomas DOT Kowatsch AT stest DOT ch> wrote:
> > > I tracked the problem a litlle bit more down. It seems to me that
> > -8<-
> > > 779d0000:/c/WINNT/System32/MSVCRT40.dll
> > > 78000000:/c/WINNT/system32/MSVCRT.dll
> > > 780a0000:/c/WINNT/System32/MSVCIRT.dll
> > > warning: LDR: Automatic DLL Relocation in testit3.exe
> > >
> > -8<-
> > > 61000000:/usr/local/cygnus/cygwin-b20/usr/bin/cygwin1.dll
> > -8<-
> >
> > Your problem is that you're using two different runtimes.
> 
> I think my 3rd party library is using the MSVCRT runtime. Is thereany
> way I can use this 3rd party lib then and cygwin?
> 

You are mixing Microsoft new and old iostream libs.  MSVCRT.lib is
for new iostream and msvcirt.lib for old iostream. You
cannot do that.  Check http://msdn.microsoft.com and do a MSDN
search on MSVCRT.DLL, this will pull a Knowledge Base article
about new iostream and old iostream libs.

Also MSVCIRT.DLL and MSVCRT40.dll, both use M$ old isostream.
You cannot use msvcrt40.dll and msvcirt.dll for a same
executable.  Check msdn.microsoft.com for more details and how
to resolve conflicts.

Suhaib

> Is this a general problem that MSVC libraries are not usable? So
> the 3rd party vendor has to support a cygwin version?
> 
> Cheers
> Tommy
> 
> --
> ------------------------------------------------------------------------
> Thomas Kowatsch                      | - Senior Software Engineer -
> Switching Test Solutions AG          | mailto: thomas DOT kowatsch AT stest DOT ch
> Wavetek Wandel & Goltermann Divison5 | web   : http://www.stest.com
> Friesenbergstr. 75                   | Phone : +41 1 454-6731
> CH-8055 Zuerich                      | FAX   : +41 1 454-6612
> 
> 
> 
> 
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
> 

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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