• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 331
  • Last Modified:

HOW TO MAKE MY EDIT BOX IN VISUAL C++ ACCEPT CHINESE CHARACTER AFTER SAVING TO SQL SERVER.

Hi all,

Now I need to develop a product which can key chinese character in my EDIT BOX. I am using Visual C++ 6.0 and SQL SERVER 2000 as database. I try to key chinese in my program, I can see the words before saving it. After I save the transaction, my chinese words gone. It becomes ?? marks.  I am using my own library file. Any easy way to allow unicode? I also found that my program work perfectly when using Windows 2000 as SQL SERVER. In Windows Xp doesn't work.



Vince
0
kimheng
Asked:
kimheng
1 Solution
 
NievergeltCommented:
The MFC that comes with Visual C++ 6.0 does not support the Unicode types for database: SQL_WVARCHAR and the like.
.NET (MFC 7) has this support.
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now