Unix Technical Forum

How does databse driver manager know the application is "Unicode aware" ?

This is a discussion on How does databse driver manager know the application is "Unicode aware" ? within the MS SQL ODBC forums, part of the Microsoft SQL Server category; --> Hi, all: My VC6 MFC application is recognized as a Unicode application by the driver manager, so when I ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > MS SQL ODBC

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-27-2008, 10:07 PM
qhe
 
Posts: n/a
Default How does databse driver manager know the application is "Unicode aware" ?

Hi, all:

My VC6 MFC application is recognized as a Unicode application by the driver
manager, so when I read nchar fileds in MS SQL Server database, the
SQL_WCHAR does not convert to SQL_CHAR, and the application ASSERT failure
at CRecordset::GetDefaultFieldType function.
But I don't have "_UNICODE" defined, and have no "W" suffix functions
called, and my old version program compiled on Feb 2004 just work fine.
(source code lost unfortunatally)

I read docs like:
http://msdn.microsoft.com/library/de...er_manager.asp
http://msdn.microsoft.com/library/de...de_drivers.asp
but can't find the right answer.

Could any one tell me how dow the driver manager judge the application to be
Unicode aware?

Best Regards,
Qiang He

(remove the "nospam." to email me, thanks)


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-27-2008, 10:07 PM
mnassif@gmail.com
 
Posts: n/a
Default Re: How does databse driver manager know the application is "Unicode aware" ?

visit http://www.bargainstriker.com

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:27 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com