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

C / C++ / MFC

 
AnswerRe: a Design and technical issue Pin
CPallini19-Aug-09 1:52
mveCPallini19-Aug-09 1:52 
GeneralRe: a Design and technical issue Pin
Ahmed Charfeddine19-Aug-09 1:58
Ahmed Charfeddine19-Aug-09 1:58 
GeneralRe: a Design and technical issue Pin
CPallini19-Aug-09 3:04
mveCPallini19-Aug-09 3:04 
GeneralRe: a Design and technical issue Pin
Ahmed Charfeddine19-Aug-09 3:11
Ahmed Charfeddine19-Aug-09 3:11 
AnswerRe: a Design and technical issue Pin
KarstenK19-Aug-09 2:07
mveKarstenK19-Aug-09 2:07 
GeneralRe: a Design and technical issue Pin
Ahmed Charfeddine21-Aug-09 7:35
Ahmed Charfeddine21-Aug-09 7:35 
GeneralRe: a Design and technical issue Pin
KarstenK13-Sep-09 22:46
mveKarstenK13-Sep-09 22:46 
Questionunicode problem Pin
koiava19-Aug-09 0:15
koiava19-Aug-09 0:15 
my code is:
FILE* f = _wfopen(m_sFilespecW.c_str(),L"w");
size_t no = fwrite(tmp,sizeof(wchar_t),size,f);
fclose(f);

but it shows garbage.

when i change the code to:

FILE* f = _wfopen(m_sFilespecW.c_str(),L"w");
while(*tmp)
{
fputwc(*tmp,f);
tmp++;
}
fclose(f);

it saves the file but in ANSI format. it then fails to load in other function as that function only loads unicode files.

help me i want to save it in UNICODE.
AnswerRe: unicode problem Pin
Ahmed Charfeddine19-Aug-09 0:29
Ahmed Charfeddine19-Aug-09 0:29 
AnswerRe: unicode problem Pin
«_Superman_»19-Aug-09 0:33
professional«_Superman_»19-Aug-09 0:33 
Questionpaper orientation Pin
Amin.Abdi18-Aug-09 22:40
Amin.Abdi18-Aug-09 22:40 
AnswerRe: paper orientation Pin
CPallini19-Aug-09 0:59
mveCPallini19-Aug-09 0:59 
QuestionCMFCRibbonProgressBar Pin
sashoalm18-Aug-09 21:48
sashoalm18-Aug-09 21:48 
AnswerRe: CMFCRibbonProgressBar Pin
KarstenK19-Aug-09 2:13
mveKarstenK19-Aug-09 2:13 
GeneralRe: CMFCRibbonProgressBar Pin
sashoalm19-Aug-09 2:46
sashoalm19-Aug-09 2:46 
GeneralRe: CMFCRibbonProgressBar Pin
sashoalm19-Aug-09 3:04
sashoalm19-Aug-09 3:04 
QuestionDiffrence between LPRECT and RECT. When to use LPRECT and RECT. Pin
pandit8418-Aug-09 21:35
pandit8418-Aug-09 21:35 
AnswerRe: Diffrence between LPRECT and RECT. When to use LPRECT and RECT. Pin
Rajesh R Subramanian18-Aug-09 21:44
professionalRajesh R Subramanian18-Aug-09 21:44 
AnswerRe: Diffrence between LPRECT and RECT. When to use LPRECT and RECT. Pin
sashoalm18-Aug-09 21:49
sashoalm18-Aug-09 21:49 
AnswerRe: Diffrence between LPRECT and RECT. When to use LPRECT and RECT. Pin
CPallini19-Aug-09 3:06
mveCPallini19-Aug-09 3:06 
Questiontypedef is not working properly.. Pin
Rakesh518-Aug-09 21:09
Rakesh518-Aug-09 21:09 
AnswerRe: typedef is not working properly.. Pin
KarstenK18-Aug-09 21:39
mveKarstenK18-Aug-09 21:39 
GeneralRe: typedef is not working properly.. Pin
Rakesh518-Aug-09 22:44
Rakesh518-Aug-09 22:44 
GeneralRe: typedef is not working properly.. Pin
KarstenK18-Aug-09 22:56
mveKarstenK18-Aug-09 22:56 
QuestionDetecting memory leak Pin
VCProgrammer18-Aug-09 19:28
VCProgrammer18-Aug-09 19:28 

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.