Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com From: "Suhaib M. Siddiqi" To: "Thomas Kowatsch" , "Cygwin List" Subject: RE: automatic relocation problem? (WAS: problem with 3rd party lib) Date: Thu, 16 Sep 1999 15:55:41 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit 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 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