Skip to Content.
Sympa Menu

freetds - Re: [freetds] Build Error

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Duncan Berriman" <duncan AT dcl.co.uk>
  • To: "'FreeTDS Development Group'" <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Build Error
  • Date: Mon, 21 May 2007 13:10:04 +0100

Fixed it.

Appears I need to cast it with (SQLCHAR *)

SQLGetDiagRec(SQL_HANDLE_STMT, Statement, 1, (SQLCHAR *) errornumber, NULL,
(SQLCHAR *) message, sizeof(message), NULL);

Works fine now. Guess the compiler is more picky on FC4.

Duncan






Archive powered by MHonArc 2.6.24.

Top of Page