Unix Technical Forum

Re: MFC CDatabase and UNICODE

This is a discussion on Re: MFC CDatabase and UNICODE within the MS SQL ODBC forums, part of the Microsoft SQL Server category; --> Hi Adrian, The CDatabase class as you know calls T2A macro which converts Wide char to Multybyte characters. 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, 08:32 PM
markande
 
Posts: n/a
Default Re: MFC CDatabase and UNICODE


Hi Adrian,

The CDatabase class as you know calls T2A macro which converts Wide
char to Multybyte characters. I don't think there is a work around
with this class. I too am having the same problem while converting
our applications to Unicode and we have decided to move to
CDaoDatabase. DAO 3.6 supports unicode and to use to 3.6 version u
must add the following line wherever you are making an object of
CDaoDatabase.



AfxGetModuleState()->m_dwVersion = 0x0601; // Use ver 3.6



I hope this helps. Please discuss any problems u face for mutual
benefit.



Best Regards,

Rohit Markande


--
Posted via http://dbforums.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 10:20 AM.


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