From 49742d4ecc295b12cf0f557089b2b64a6b1131a2 Mon Sep 17 00:00:00 2001 From: George Tasker Date: Mon, 10 Jan 2005 18:30:17 +0000 Subject: [PATCH] Added a small bit more information about Unicode builds git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- docs/latex/wx/tdb.tex | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/latex/wx/tdb.tex b/docs/latex/wx/tdb.tex index a1e9cef2a9..bc458335d4 100644 --- a/docs/latex/wx/tdb.tex +++ b/docs/latex/wx/tdb.tex @@ -918,6 +918,11 @@ As of v2.6 of wxWidgets, the wxODBC classes now fully support the compilation and use of the classes in a Unicode build of wxWidgets, assuming the compiler and OS on which the program will be compiled/run is Unicode capable. +The one major difference in writing code that can be compiled in either +unicode or non-unicode builds that is specific to the wxODBC classes is to +use the SQL_C_WXCHAR datatype for string columns rather than SQL_C_CHAR or +SQL_C_WCHAR. + \subsection{wxODBC - Sample Code}\label{wxodbcsamplecode1} Simplest example of establishing/opening a connection to an ODBC datasource, -- 2.50.0