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 Message-ID: <3CECCA15.7080509@mip.sdu.dk> Date: Thu, 23 May 2002 12:53:09 +0200 From: =?ISO-8859-1?Q?Ren=E9_M=F8ller_Fonseca?= Reply-To: cygwin AT cygwin DOT com Organization: The Maersk Institute, University of Southern Denmark User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0rc2) Gecko/20020510 X-Accept-Language: en-us, en MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: linking cygwin built dll with Borland C++Builder References: <3CECC852 DOT 9060605 AT uni DOT de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: by AMaViS perl-11 Tell the compilers to pack the struct's (if different alignment is the problem). For GCC use: __attribute__((packed)) For Borland compiler use (I think): #pragma pack René Dennis Jarosch wrote: > Hi Rob! > > Robert Collins wrote: > >> Mixing C++ between compilers generally doesn't work. See the c++-faq >> lite for more details. >> >> Rob > > > Maybe I just misunderstood you, but the lib/dll consists of pure C-code, > no C++ involved. Of course my Wrapper uses C++ code, but I am not > linking any C++ code from gcc! > > Dennis > > > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Bug reporting: http://cygwin.com/bugs.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ > -- B.Sc. in Computer Systems Engineering The Maersk Mc-Kinney Moller Institute for Production Technology University of Southern Denmark http://www.mip.sdu.dk/~fonseca -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/