[fpc-devel] TStringField, String and UnicodeString and UTF8String

Joost van der Sluis joost at cnoc.nl
Thu Jan 13 15:08:01 CET 2011

On Thu, 2011-01-13 at 10:32 +0100, José Mejuto wrote:
> Hello FPC,
> Thursday, January 13, 2011, 10:03:02 AM, you wrote:
> >> ODBC 3.5 was launched around 2000-2001.
> L> But this approach will require changes in packages/odbc/src/odbcsql.inc
> L> like, does not ?:
> L> -    pointer(SQLGetData) := 
> L> GetProcedureAddress(ODBCLibraryHandle,'SQLGetData');
> L> +    pointer(SQLGetData) := 
> L> GetProcedureAddress(ODBCLibraryHandle,'SQLGetDataW');
> L> And I do not know how it affect compatibility for example in UNIX or if
> L> all ODBC drivers support this functionality.
> Most probably it needs a "flag" to indicate that the ODBC must work in
> Unicode, and then dynamic link to *W functions if this flag is set. I
> think ODBC drivers since 2002+/- should have this set of APIs, but I
> had never used ODBC in my life... :)

This has only effect on the passed parameters to the ODBC-functions. ie:
the field-names, table names and such. 


More information about the fpc-devel mailing list