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 Subject: Re: Problem with using Sybase DLL's. To: cygwin AT cygwin DOT com X-Mailer: Lotus Notes Release 5.0.1 (Intl) 16 July 1999 Message-ID: From: oddvard DOT myrnes AT stoltoffshore DOT no Date: Mon, 7 May 2001 15:01:14 +0200 X-MIMETrack: Serialize by Router on SCS-SVG-G01/SRV/SCS(Release 5.0.5 |September 22, 2000) at 05/07/2001 03:01:15 PM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii The message I posted on the list did not get any answers. However, I found the problem and I whould like to share this on the list so it may be entered in the archives. http://sources.redhat.com/ml/cygwin/1999-12/msg00302.html reference is outdated and should not be regarded as a working solution. The application links fine using the GCC compiler and linker and SYBASE native WindowsNT dynamic (dll) libraries. Use a compiler define flag -DNT so the structures in sybdb.h gets the correct size. Make sure application prototypes for SYBASE message and error handlers are set corrcetly (check in sybdb.h). Done that and it should work. If you share startup scripts with other UNIX systems you may want to check if your 'LANG' environment variable is in the $SYBASE/locales/locales.dat. Oddvard -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple