Click here to Skip to main content
15,560,618 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Using ShellExecute to open a web page as a child of Dialog Pin
barneyman1-Jun-11 3:27
barneyman1-Jun-11 3:27 
GeneralRe: Using ShellExecute to open a web page as a child of Dialog Pin
pix_programmer1-Jun-11 3:46
pix_programmer1-Jun-11 3:46 
GeneralRe: Using ShellExecute to open a web page as a child of Dialog Pin
barneyman1-Jun-11 4:00
barneyman1-Jun-11 4:00 
QuestionRe: Using ShellExecute to open a web page as a child of Dialog Pin
David Crow1-Jun-11 4:06
David Crow1-Jun-11 4:06 
QuestionRe: Using ShellExecute to open a web page as a child of Dialog [modified] Pin
pix_programmer1-Jun-11 4:09
pix_programmer1-Jun-11 4:09 
GeneralRe: Using ShellExecute to open a web page as a child of Dialog Pin
David Crow1-Jun-11 4:25
David Crow1-Jun-11 4:25 
AnswerRe: Using ShellExecute to open a web page as a child of Dialog Pin
rp_suman2-Jun-11 2:09
rp_suman2-Jun-11 2:09 
Questionsome special charaters like while reading XML. Pin
janaswamy uday1-Jun-11 1:55
janaswamy uday1-Jun-11 1:55 
Hi all,

some special extra charaters like "
" are displayed while reading the xml file using CFile.
i dont want that 
 extra charaters.


Code:
----


int iSz = 0;
DWORD dwFileRead;
int len = (int)file.GetLength();
DWORD dwOffset=0;

char* ReadAsciiBuf = new char[len+1];
_TCHAR* Readbuf = new _TCHAR[len+1];

file.SeekToBegin();
dwFileRead = file.Read(ReadAsciiBuf+dwOffset,len);

memset(Readbuf, 0, (file.GetLength() + 1) * sizeof(TCHAR));
iSz = Mymbstowcs(Readbuf,ReadAsciiBuf,len);
strTempResult = Readbuf;
file.Close();


help me out.
AnswerRe: some special charaters like while reading XML. Pin
barneyman1-Jun-11 2:57
barneyman1-Jun-11 2:57 
QuestionTwo questions about CDockablePane class management programmatically. [modified] Pin
SAMZCN1-Jun-11 0:31
SAMZCN1-Jun-11 0:31 
QuestionMFC COM Pin
Pranit Kothari31-May-11 22:36
Pranit Kothari31-May-11 22:36 
AnswerRe: MFC COM Pin
వేంకటనారాయణ(venkatmakam)31-May-11 22:41
వేంకటనారాయణ(venkatmakam)31-May-11 22:41 
GeneralRe: MFC COM Pin
ShilpiP31-May-11 23:56
ShilpiP31-May-11 23:56 
AnswerRe: MFC COM [modified] Pin
ShilpiP31-May-11 23:32
ShilpiP31-May-11 23:32 
GeneralRe: MFC COM [modified] Pin
వేంకటనారాయణ(venkatmakam)31-May-11 23:36
వేంకటనారాయణ(venkatmakam)31-May-11 23:36 
GeneralRe: MFC COM Pin
ShilpiP31-May-11 23:48
ShilpiP31-May-11 23:48 
GeneralRe: MFC COM Pin
వేంకటనారాయణ(venkatmakam)1-Jun-11 1:08
వేంకటనారాయణ(venkatmakam)1-Jun-11 1:08 
GeneralRe: MFC COM Pin
ShilpiP1-Jun-11 1:13
ShilpiP1-Jun-11 1:13 
AnswerRe: MFC COM Pin
ThatsAlok1-Jun-11 21:41
ThatsAlok1-Jun-11 21:41 
QuestionAngles Pin
Cyclone_S31-May-11 15:48
Cyclone_S31-May-11 15:48 
AnswerRe: Angles Pin
Luc Pattyn31-May-11 15:59
sitebuilderLuc Pattyn31-May-11 15:59 
QuestionRe: Angles Pin
David Crow31-May-11 16:39
David Crow31-May-11 16:39 
AnswerRe: Angles Pin
Luc Pattyn31-May-11 16:50
sitebuilderLuc Pattyn31-May-11 16:50 
GeneralRe: Angles Pin
Cyclone_S5-Jun-11 17:15
Cyclone_S5-Jun-11 17:15 
AnswerRe: Angles Pin
Luc Pattyn5-Jun-11 17:26
sitebuilderLuc Pattyn5-Jun-11 17:26 

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.