Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: From: "Schaible, Joerg" To: cygwin AT cygwin DOT com Subject: RE: Cygwin compiled DLL under Visual C++ Date: Tue, 20 Feb 2001 09:31:09 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id DAA02931 Hi Hans, this depends on your fprintf format string. Be aware that MS has some extensions that are not standard and therefore not supported. Anyway, you have the source for both runtime libraries. Any contribution G++ to enhance compatibility without breaking platform independent code is probably welcome. Greetings, Jörg >-----Original Message----- >From: Hans Holberg [mailto:holberg AT o-s-c DOT de] >Sent: Monday, February 19, 2001 6:01 PM >To: Schaible, Joerg >Subject: Re: Cygwin compiled DLL under Visual C++ > > >Hi Jörg, >thanx for your answer. >But why do we have the same runtime error in using the Cygwin DLL >under GNU G++? Is it the same incompatibility? >Do you have another idea to bring QT together with Cygwin? >Hans > >----- Original Message ----- >From: "Schaible, Joerg" >To: "Hans Holberg" ; >Sent: Monday, February 19, 2001 5:03 PM >Subject: RE: Cygwin compiled DLL under Visual C++ > > >Hi Hans, > >well it seems that you've lost - sorry to say that. You try to link >incompatible run-time libraries and I doubt that you will get >any further. >Please check the archives, this is a well-known fact and not Cygwin >specific. You would have similar problems using e.g. the >Borland run-time. >OTOH, a lot of developers would like to see this kind of >compatibility and >since Cygwin is open source, you (or your company) may want to >volunteer. > >Greetings, >Jörg > > >>-----Original Message----- >>From: Hans Holberg [mailto:holberg AT o-s-c DOT de] >>Sent: Monday, February 19, 2001 4:54 PM >>To: cygwin AT cygwin DOT com >>Subject: Cygwin compiled DLL under Visual C++ >> >> >>Dear Cygwin-Support! >>Dear Christopher Faylor, >>we at OSC have bought 2000 seats of Cygwin for our product >development. >>We have developed a lot of functionality under Solaris, so we >>use Cygwin for >>the NT-Port. >>We also have a separate platform independent GUI development with QT >>(Trolltech) and C++. >>It is not possible to compiler/or use QT under Cygwin. So we >>have developed >>the GUI >>with QT under Visual C++. In order to access our ported >>functionality we >>have built a DLL >>under Cygwin (1.1.4 and 1.1.8) with the dlltool. Then we have >>linked the DLL >>in our QT Visual C++ >>Project and we could link an executable. But it crashed! Then >>we tried a >>simple function without >>Cygwin specific parts as a DLL (same procedure). It worked. >>Then we used the >>fprintf() function >>in the Cygwin world in the DLL and it crashed again. So we >>tried if Visual >>C++ is the problem or not. >>And it is not the problem, because we have linked the simple >>DLL in a Cygwin >>C++ (G++) program, >>-> same crash! >> >>Please give us an advise how we can generate a running DLL >>under Cygwin (in >>C) in order to >>use it in a Visual C++ project. >> >>If you need more information I can send you the error messages and a >>description of >>how we have generated the DLL. >> >>I really hope you can help us, because we have some hard deadlines. >>Thanks >>Hans Juergen Holberg >> >>_______________________________________________________________ >>_____________ >>OSC - OFFIS Systems and Consulting GMBH, Industriestr. 11, >>D-26121 Oldenburg >>Dipl.Inform. Hans J. Holberg Phone +49 (0) 4 41 >>3 50 42 -3 14 >>Director Consulting Embedded Systems Sekr.: -3 00 >> Fax: -3 80 >>E:Mail holberg AT o-s-c DOT de URL: >http://www.o-s-c.de >ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ >ŻŻŻŻŻŻŻŻŻŻŻŻŻ > > >-- >Want to unsubscribe from this list? >Check out: http://cygwin.com/ml/#unsubscribe-simple > -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple