delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/05/07/09:06:22

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
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: <OFF5904006.ADA8D7BC-ONC1256A45.0045AF88@stoltoffshore.no>
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

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

- Raw text -


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