Click here to Skip to main content
15,895,084 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: map in mfc Pin
Nishad S10-Mar-09 2:38
Nishad S10-Mar-09 2:38 
AnswerRe: map in mfc Pin
CPallini10-Mar-09 3:01
mveCPallini10-Mar-09 3:01 
GeneralRe: map in mfc Pin
Eytukan10-Mar-09 6:46
Eytukan10-Mar-09 6:46 
AnswerRe: map in mfc Pin
Stephen Hewitt10-Mar-09 3:06
Stephen Hewitt10-Mar-09 3:06 
AnswerRe: map in mfc Pin
Eytukan10-Mar-09 6:50
Eytukan10-Mar-09 6:50 
QuestionDifferent encoding?? Pin
gothic_coder10-Mar-09 1:03
gothic_coder10-Mar-09 1:03 
AnswerRe: Different encoding?? Pin
Iain Clarke, Warrior Programmer10-Mar-09 1:43
Iain Clarke, Warrior Programmer10-Mar-09 1:43 
AnswerRe: Different encoding?? Pin
gothic_coder10-Mar-09 1:45
gothic_coder10-Mar-09 1:45 
All right i get it...

stream = fopen(pszwritepath, "ab");
if(stream == NULL)
{
   return 0;
}

int n = fwprintf(stream, L"%ls\r\n", (wchar_t*)bstrString_Dest);


Above code is working perfectly... I wasn't selecting unicode while i was seeing in notepad (Silly mistake)... But as i've to make many file how do i make sure that the data which is being writed to notepad open as unicode only not ascii???


Thanks



P.S
Didn't saw ian's post.. Thanks i'll try to do that..
You mean to say before i write to the file i should write that byte order marker (BOM) first???
GeneralRe: Different encoding?? Pin
Iain Clarke, Warrior Programmer10-Mar-09 2:14
Iain Clarke, Warrior Programmer10-Mar-09 2:14 
GeneralRe: Different encoding?? Pin
CPallini10-Mar-09 3:55
mveCPallini10-Mar-09 3:55 
QuestionWhile creating thread error C2665: 'AfxBeginThread' Pin
Abhijit D. Babar10-Mar-09 0:45
Abhijit D. Babar10-Mar-09 0:45 
AnswerRe: While creating thread error C2665: 'AfxBeginThread' Pin
Jijo.Raj10-Mar-09 0:52
Jijo.Raj10-Mar-09 0:52 
AnswerRe: While creating thread error C2665: 'AfxBeginThread' Pin
Cedric Moonen10-Mar-09 0:53
Cedric Moonen10-Mar-09 0:53 
QuestionGet the keys present in the section of an ini file... Pin
siva45510-Mar-09 0:24
siva45510-Mar-09 0:24 
AnswerRe: Get the keys present in the section of an ini file... Pin
Paresh Chitte10-Mar-09 0:44
Paresh Chitte10-Mar-09 0:44 
AnswerRe: Get the keys present in the section of an ini file... Pin
Iain Clarke, Warrior Programmer10-Mar-09 0:46
Iain Clarke, Warrior Programmer10-Mar-09 0:46 
AnswerRe: Get the keys present in the section of an ini file... - REPOST Pin
Iain Clarke, Warrior Programmer10-Mar-09 1:00
Iain Clarke, Warrior Programmer10-Mar-09 1:00 
GeneralRe: Get the keys present in the section of an ini file... - REPOST Pin
siva45510-Mar-09 1:34
siva45510-Mar-09 1:34 
GeneralRe: Get the keys present in the section of an ini file... - REPOST Pin
Iain Clarke, Warrior Programmer10-Mar-09 1:38
Iain Clarke, Warrior Programmer10-Mar-09 1:38 
GeneralRe: Get the keys present in the section of an ini file... - REPOST Pin
Hamid_RT10-Mar-09 2:25
Hamid_RT10-Mar-09 2:25 
QuestionHow to change the cursor for a Text Control Pin
pandit8410-Mar-09 0:17
pandit8410-Mar-09 0:17 
AnswerRe: How to change the cursor for a Text Control Pin
CPallini10-Mar-09 0:30
mveCPallini10-Mar-09 0:30 
GeneralRe: How to change the cursor for a Text Control Pin
Iain Clarke, Warrior Programmer10-Mar-09 0:52
Iain Clarke, Warrior Programmer10-Mar-09 0:52 
GeneralRe: How to change the cursor for a Text Control Pin
CPallini10-Mar-09 1:14
mveCPallini10-Mar-09 1:14 
JokeRe: How to change the cursor for a Text Control Pin
Iain Clarke, Warrior Programmer10-Mar-09 1:21
Iain Clarke, Warrior Programmer10-Mar-09 1:21 

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.