Click here to Skip to main content
16,004,977 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralGet the listing of the files present in the specified directory. Pin
intelligent_pb5-Oct-05 2:38
intelligent_pb5-Oct-05 2:38 
GeneralRe: Get the listing of the files present in the specified directory. Pin
David Crow5-Oct-05 3:55
David Crow5-Oct-05 3:55 
Questionmenus Pin
swaapu5-Oct-05 2:17
swaapu5-Oct-05 2:17 
AnswerRe: menus Pin
vikas amin5-Oct-05 3:01
vikas amin5-Oct-05 3:01 
AnswerRe: menus Pin
bugDanny5-Oct-05 3:13
bugDanny5-Oct-05 3:13 
Questionreading Å, Ä, Ö using FILE* and fopen Pin
anderslundsgard5-Oct-05 2:11
anderslundsgard5-Oct-05 2:11 
AnswerRe: reading Å, Ä, Ö using FILE* and fopen Pin
Jörgen Sigvardsson5-Oct-05 2:21
Jörgen Sigvardsson5-Oct-05 2:21 
AnswerRe: reading Å, Ä, Ö using FILE* and fopen Pin
kakan5-Oct-05 2:24
professionalkakan5-Oct-05 2:24 
Hello (Hej.)

My guess is that you read a text file, written in another charset than ANSI, probably a PC-8 (DOS) charset, CP 437 or 850.

Use the Windows func OemToAnsi to convert the text lines from the file to ANSI. And from there, do another conversion to Unicode if you whish.

You might also to considder the opposite character conversion func, AnsiToOem.

Use them as they are, or use them as member functions in a CString.
QuestionGetSaveFileName more Info. Pin
.NetRams5-Oct-05 1:26
.NetRams5-Oct-05 1:26 
AnswerRe: GetSaveFileName more Info. Pin
David Crow5-Oct-05 4:00
David Crow5-Oct-05 4:00 
QuestionInconsistency in balloon tool tip Pin
Asha Udupa5-Oct-05 1:16
Asha Udupa5-Oct-05 1:16 
QuestionAfx_Dispatch_map and Automation Question Pin
wdhough5-Oct-05 0:53
wdhough5-Oct-05 0:53 
AnswerRe: Afx_Dispatch_map and Automation Question Pin
Jozef Bozek5-Oct-05 3:34
Jozef Bozek5-Oct-05 3:34 
QuestionNumber of timers Pin
nripun5-Oct-05 0:33
nripun5-Oct-05 0:33 
AnswerRe: Number of timers Pin
Marc Soleda5-Oct-05 0:56
Marc Soleda5-Oct-05 0:56 
AnswerRe: Number of timers Pin
Trollslayer5-Oct-05 1:27
mentorTrollslayer5-Oct-05 1:27 
AnswerRe: Number of timers Pin
vikas amin5-Oct-05 3:25
vikas amin5-Oct-05 3:25 
AnswerRe: Number of timers Pin
David Crow5-Oct-05 4:05
David Crow5-Oct-05 4:05 
AnswerRe: Number of timers Pin
Bob Stanneveld5-Oct-05 6:24
Bob Stanneveld5-Oct-05 6:24 
Questionwhat do CreateEx exactly mean Pin
vikas amin5-Oct-05 0:09
vikas amin5-Oct-05 0:09 
AnswerRe: what do CreateEx exactly mean Pin
sunit55-Oct-05 0:48
sunit55-Oct-05 0:48 
AnswerRe: what do CreateEx exactly mean Pin
vamshin5-Oct-05 0:52
sussvamshin5-Oct-05 0:52 
AnswerRe: what do CreateEx exactly mean Pin
sunit55-Oct-05 2:10
sunit55-Oct-05 2:10 
GeneralRe: what do CreateEx exactly mean Pin
vikas amin5-Oct-05 3:42
vikas amin5-Oct-05 3:42 
QuestionHow to hide mouse globally ? Pin
Amarelia5-Oct-05 0:00
Amarelia5-Oct-05 0:00 

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.