Click here to Skip to main content
15,905,316 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Help with custom message broadcasting(Inter process communication) Pin
callousfantom10-Aug-09 18:05
callousfantom10-Aug-09 18:05 
Questionhow to create a file shared among all users Pin
Joseph Marzbani7-Aug-09 2:03
Joseph Marzbani7-Aug-09 2:03 
AnswerRe: how to create a file shared among all users Pin
CPallini7-Aug-09 2:15
mveCPallini7-Aug-09 2:15 
GeneralRe: how to create a file shared among all users Pin
Joseph Marzbani7-Aug-09 2:24
Joseph Marzbani7-Aug-09 2:24 
GeneralRe: how to create a file shared among all users Pin
CPallini7-Aug-09 2:33
mveCPallini7-Aug-09 2:33 
GeneralRe: how to create a file shared among all users Pin
Omri1217-Aug-09 5:32
Omri1217-Aug-09 5:32 
QuestionRe: how to create a file shared among all users Pin
David Crow7-Aug-09 3:09
David Crow7-Aug-09 3:09 
QuestionReading Simplified Chinese String. [modified] Pin
gothic_coder6-Aug-09 21:23
gothic_coder6-Aug-09 21:23 
Hello all.

I'm again bringing up this problem because my last thread regarding this problem dissolves in lot's of thread here, Hoping to find answer this time.

I am extracting the data in "Simplified Chinese" from database and writing the data into file(Notepad).. In other words i'm making many LAN Files from single database. It works well, I'm getting right data in LAN Files...

Now the problem is that the project is pretty big and old applications are using GetPrivateProfileString to read from LAN files, But when they(applications) read "Simplified Chinese" LAN files they get Junk or question mark instead of Simplified Chinese characters.. Also when i tried reading and displaying using GetPrivateProfileStringW it works well but i cannot alter old applications code..

So my question is that, Is there any way i can read that data in simplified chinese using GetPrivateProfileString and able to display right data on GUI.




P.S
I make different LAN files using different language databases including "Traditional Chinese" and it works well, Only Simplified Chinese is creating problem.



Thanks.

modified on Friday, August 7, 2009 4:49 AM

AnswerRe: Reading Simplified Chinese String. Pin
sashoalm6-Aug-09 22:04
sashoalm6-Aug-09 22:04 
GeneralRe: Reading Simplified Chinese String. Pin
gothic_coder6-Aug-09 22:32
gothic_coder6-Aug-09 22:32 
GeneralRe: Reading Simplified Chinese String. Pin
sashoalm6-Aug-09 23:22
sashoalm6-Aug-09 23:22 
GeneralRe: Reading Simplified Chinese String. Pin
gothic_coder6-Aug-09 23:48
gothic_coder6-Aug-09 23:48 
GeneralRe: Reading Simplified Chinese String. Pin
sashoalm7-Aug-09 0:14
sashoalm7-Aug-09 0:14 
GeneralRe: Reading Simplified Chinese String. Pin
Adam Roderick J7-Aug-09 0:50
Adam Roderick J7-Aug-09 0:50 
GeneralRe: Reading Simplified Chinese String. Pin
sashoalm7-Aug-09 1:27
sashoalm7-Aug-09 1:27 
GeneralRe: Reading Simplified Chinese String. Pin
gothic_coder7-Aug-09 1:32
gothic_coder7-Aug-09 1:32 
GeneralRe: Reading Simplified Chinese String. Pin
gothic_coder7-Aug-09 1:30
gothic_coder7-Aug-09 1:30 
GeneralRe: Reading Simplified Chinese String. Pin
gothic_coder7-Aug-09 23:18
gothic_coder7-Aug-09 23:18 
GeneralRe: Reading Simplified Chinese String. Pin
gothic_coder8-Aug-09 2:36
gothic_coder8-Aug-09 2:36 
QuestionCMFCRibbonEdit - how to capture event when user edits it and presses enter? Pin
sashoalm6-Aug-09 21:14
sashoalm6-Aug-09 21:14 
AnswerRe: CMFCRibbonEdit - how to capture event when user edits it and presses enter? Pin
Adam Roderick J7-Aug-09 1:00
Adam Roderick J7-Aug-09 1:00 
GeneralRe: CMFCRibbonEdit - how to capture event when user edits it and presses enter? [modified] Pin
sashoalm7-Aug-09 1:41
sashoalm7-Aug-09 1:41 
GeneralRe: CMFCRibbonEdit - how to capture event when user edits it and presses enter? Pin
Adam Roderick J7-Aug-09 2:26
Adam Roderick J7-Aug-09 2:26 
GeneralRe: CMFCRibbonEdit - how to capture event when user edits it and presses enter? Pin
sashoalm7-Aug-09 2:40
sashoalm7-Aug-09 2:40 
Questionwriting Bitmap data as Binary Into XML file Pin
002comp6-Aug-09 19:06
002comp6-Aug-09 19:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.