Click here to Skip to main content
15,911,890 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: MFC Pin
Joe Woodbury29-Apr-06 19:46
professionalJoe Woodbury29-Apr-06 19:46 
GeneralMFC Pin
kumaraghuru29-Apr-06 20:03
kumaraghuru29-Apr-06 20:03 
GeneralRe: MFC Pin
YaronNir29-Apr-06 20:53
YaronNir29-Apr-06 20:53 
GeneralRe: MFC Pin
kumaraghuru29-Apr-06 21:19
kumaraghuru29-Apr-06 21:19 
GeneralRe: MFC Pin
YaronNir29-Apr-06 21:26
YaronNir29-Apr-06 21:26 
GeneralRe: MFC Pin
kumaraghuru29-Apr-06 21:23
kumaraghuru29-Apr-06 21:23 
GeneralRe: MFC Pin
kumaraghuru29-Apr-06 21:06
kumaraghuru29-Apr-06 21:06 
GeneralRe: MFC Pin
Joe Woodbury29-Apr-06 23:34
professionalJoe Woodbury29-Apr-06 23:34 
CStdioFile reads/writes Multi-Byte ANSI text to the file even if the source code is compiled as UNICODE.

Visual Studio 2005 supports UNICODE/UTF-8 files with the buffered I/O series of CRT functions (fopen, fwrite, etc.), many which are used by CStdioFile. However, CStdioFile does not directly support these (due to how it opens files--it doesn't actually use fopen().)

Another option is to use the class from this article: http://www.codeproject.com/file/stdiofileex.asp[^]

I have not used nor tested this class, but I've looked at it and it seems to do what you want.



Anyone who thinks he has a better idea of what's good for people than people do is a swine.
- P.J. O'Rourke

AnswerRe: MFC Pin
bob1697230-Apr-06 4:59
bob1697230-Apr-06 4:59 
QuestionActive X Control supporting problem Pin
chybin29-Apr-06 19:19
chybin29-Apr-06 19:19 
AnswerRe: Active X Control supporting problem Pin
YaronNir29-Apr-06 22:18
YaronNir29-Apr-06 22:18 
Questioncontrolling another application Pin
Sam 200629-Apr-06 16:18
Sam 200629-Apr-06 16:18 
AnswerRe: controlling another application Pin
Justin Tay29-Apr-06 18:29
Justin Tay29-Apr-06 18:29 
AnswerRe: controlling another application Pin
YaronNir29-Apr-06 21:29
YaronNir29-Apr-06 21:29 
GeneralRe: controlling another application Pin
Sam 200630-Apr-06 2:20
Sam 200630-Apr-06 2:20 
AnswerRe: Displaying a HTML string in memory that links to an external CSS document Pin
borono29-Apr-06 16:12
borono29-Apr-06 16:12 
Question[Message Deleted] Pin
Tito-K4L29-Apr-06 11:31
Tito-K4L29-Apr-06 11:31 
QuestionConverting a bmp to a raw image Pin
Tito-K4L29-Apr-06 11:30
Tito-K4L29-Apr-06 11:30 
QuestionAdding Functionality to a COM/Ocx Pin
AryaSoft29-Apr-06 11:00
AryaSoft29-Apr-06 11:00 
QuestionGDI+ does not work in release mode Pin
sdancer7529-Apr-06 10:31
sdancer7529-Apr-06 10:31 
Questionhelp plz Pin
big_denny_20029-Apr-06 9:21
big_denny_20029-Apr-06 9:21 
AnswerRe: help plz Pin
Justin Tay29-Apr-06 10:45
Justin Tay29-Apr-06 10:45 
AnswerRe: help plz Pin
Saurabh.Garg29-Apr-06 16:03
Saurabh.Garg29-Apr-06 16:03 
QuestionResponding to CPropertySheet messages Pin
sdancer7529-Apr-06 8:58
sdancer7529-Apr-06 8:58 
QuestionHow To Get Current Module (dll) Handle Pin
Adnan56229-Apr-06 3:50
Adnan56229-Apr-06 3:50 

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.