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 ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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 |