Hi,
I'm developing a Unicode Application (MFC Dialog Based) that need
to read/write data from a mdb file. If I insert data into my mdb file
directly from MS Access with a different character set (ex. greek)
data are saved and display correctly (with greek characters) from
Access but if I try to read and display with my application I got
strings like '???' (if I read greek strings from a text unicode file
they are display correctly).
Here is the code that I use
...
if (rsDB.Open(CRecordset::snapshot, _T("SELECT ..."),
CRecordset::none))
{
while (!rsDB.IsEOF())
{
if (!rsDB.IsDeleted())
{
rsDB.GetFieldValue((short) 0, sValue);
...
I'm using VC++ 6.0. If I compile with VC++ 2005 it reads unicode
strings from db. Is it a bug of VC++ 6.0/mfc ?
Thanks in advance
Stefano