www.digitalmars.com         C & C++   DMDScript  

c++.wxwindows - Unicode and SQL

reply "W這dzimierz Skiba" <abx abx.art.pl> writes:
Hi,

there is (in 2.5.1/CVS Head wxWidgets) only one build I can't do currently 
with DMC. It is ODBC + Unicode. This seems not supported neither with free 
not full DMC release. Walter, any plans on supporting Unicode in ODBC/SQL 
support ? At this moment I can do it with all other free and free-like 
compilers.

ABX
Apr 20 2004
parent reply "Walter" <walter digitalmars.com> writes:
"W這dzimierz Skiba" <abx abx.art.pl> wrote in message
news:c63b5j$2gg1$1 digitaldaemon.com...
 Hi,

 there is (in 2.5.1/CVS Head wxWidgets) only one build I can't do currently
 with DMC. It is ODBC + Unicode. This seems not supported neither with free
 not full DMC release. Walter, any plans on supporting Unicode in ODBC/SQL
 support ? At this moment I can do it with all other free and free-like
 compilers.
I have no idea what that entails. Some details please!
Apr 20 2004
parent reply "W這dzimierz Skiba" <abx abx.art.pl> writes:
"Walter" <walter digitalmars.com> wrote in
news:c64uq2$27tc$2 digitaldaemon.com: 
 there is (in 2.5.1/CVS Head wxWidgets) only one build I can't do
 currently with DMC. It is ODBC + Unicode. This seems not supported
 neither with free not full DMC release. Walter, any plans on
 supporting Unicode in ODBC/SQL support ? At this moment I can do it
 with all other free and free-like compilers.
I have no idea what that entails. Some details please!
For example let's quote selected lines of sqltypes.h in each package. DMC has only: typedef UCHAR SQLCHAR; Borland 5.5, Open Watcom 1.2 and MinGW has it elaborated like: typedef unsigned char SQLCHAR; #ifdef _WCHAR_T_DEFINED typedef wchar_t SQLWCHAR; #else typedef unsigned short SQLWCHAR; #endif #ifdef UNICODE typedef SQLWCHAR SQLTCHAR; #else typedef SQLCHAR SQLTCHAR; #endif /* UNICODE */ ABX
Apr 21 2004
parent "Walter" <walter digitalmars.com> writes:
Ok, so the sqltype.h is out of date. I'll add it to the bug list. -Walter

"W這dzimierz Skiba" <abx abx.art.pl> wrote in message
news:c657r3$2m9t$1 digitaldaemon.com...
 "Walter" <walter digitalmars.com> wrote in
 news:c64uq2$27tc$2 digitaldaemon.com:
 there is (in 2.5.1/CVS Head wxWidgets) only one build I can't do
 currently with DMC. It is ODBC + Unicode. This seems not supported
 neither with free not full DMC release. Walter, any plans on
 supporting Unicode in ODBC/SQL support ? At this moment I can do it
 with all other free and free-like compilers.
I have no idea what that entails. Some details please!
For example let's quote selected lines of sqltypes.h in each package. DMC has only: typedef UCHAR SQLCHAR; Borland 5.5, Open Watcom 1.2 and MinGW has it elaborated like: typedef unsigned char SQLCHAR; #ifdef _WCHAR_T_DEFINED typedef wchar_t SQLWCHAR; #else typedef unsigned short SQLWCHAR; #endif #ifdef UNICODE typedef SQLWCHAR SQLTCHAR; #else typedef SQLCHAR SQLTCHAR; #endif /* UNICODE */ ABX
Apr 21 2004