This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Problem with using Sybase DLL's.
- To: cygwin at cygwin dot com
- Subject: Re: Problem with using Sybase DLL's.
- From: oddvard dot myrnes at stoltoffshore dot no
- Date: Mon, 7 May 2001 15:01:14 +0200
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