Click here to Skip to main content
15,889,909 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionUsing CSplitterWnd OnCreateClient to split window Pin
cy163@hotmail.com7-Jan-11 4:32
cy163@hotmail.com7-Jan-11 4:32 
AnswerRe: Using CSplitterWnd OnCreateClient to split window Pin
Eugen Podsypalnikov7-Jan-11 9:05
Eugen Podsypalnikov7-Jan-11 9:05 
Questionmanipulation de bits dans une variable quelconque Pin
andromida7-Jan-11 3:52
andromida7-Jan-11 3:52 
AnswerRe: manipulation de bits dans une variable quelconque Pin
Yusuf7-Jan-11 3:55
Yusuf7-Jan-11 3:55 
AnswerRe: manipulation de bits dans une variable quelconque Pin
Code-o-mat7-Jan-11 3:57
Code-o-mat7-Jan-11 3:57 
AnswerRe: manipulation de bits dans une variable quelconque Pin
User 74293387-Jan-11 4:02
professionalUser 74293387-Jan-11 4:02 
AnswerRe: manipulation de bits dans une variable quelconque Pin
Luc Pattyn7-Jan-11 5:26
sitebuilderLuc Pattyn7-Jan-11 5:26 
QuestionNot able to Read Contents for File while Reading Huge Amount of data. Pin
janaswamy uday7-Jan-11 3:37
janaswamy uday7-Jan-11 3:37 
Hi All,


I am not able to Contents of File when it exceeds length of 1024.

CFile file;
if(file.open("C:\\users\\rakesh\\Desktop\\myText.xml",CFile::modeRead))
{
return false;
}
TCHAR buffer[100000];//say content is very Big
file.read(buffer,100000);
file.close();

I am not able to get the Contents into Buffer. But i am able to get the Length of the File
with int len = file.GetLength(). I am getting Junk into Buffer.

What may be the reason i am not able to get it into buffer.

Uday.
AnswerRe: Not able to Read Contents for File while Reading Huge Amount of data. Pin
CPallini7-Jan-11 3:43
mveCPallini7-Jan-11 3:43 
AnswerRe: Not able to Read Contents for File while Reading Huge Amount of data. Pin
Paresh Chitte7-Jan-11 3:54
Paresh Chitte7-Jan-11 3:54 
AnswerRe: Not able to Read Contents for File while Reading Huge Amount of data. Pin
David Crow7-Jan-11 4:12
David Crow7-Jan-11 4:12 
AnswerRe: Not able to Read Contents for File while Reading Huge Amount of data. Pin
Richard MacCutchan7-Jan-11 5:38
mveRichard MacCutchan7-Jan-11 5:38 
AnswerRe: Not able to Read Contents for File while Reading Huge Amount of data. Pin
Andrew Brock10-Jan-11 23:55
Andrew Brock10-Jan-11 23:55 
GeneralRe: Not able to Read Contents for File while Reading Huge Amount of data. Pin
janaswamy uday11-Jan-11 18:24
janaswamy uday11-Jan-11 18:24 
Question#include "testView.h" in MainFrm.cpp [modified] Pin
cy163@hotmail.com7-Jan-11 2:24
cy163@hotmail.com7-Jan-11 2:24 
AnswerRe: #include "testView.h" in MainFrm.cpp Pin
Niklas L7-Jan-11 2:43
Niklas L7-Jan-11 2:43 
GeneralRe: #include "testView.h" in MainFrm.cpp Pin
cy163@hotmail.com7-Jan-11 3:31
cy163@hotmail.com7-Jan-11 3:31 
AnswerRe: #include "testView.h" in MainFrm.cpp Pin
User 74293387-Jan-11 3:53
professionalUser 74293387-Jan-11 3:53 
GeneralRe: #include "testView.h" in MainFrm.cpp Pin
cy163@hotmail.com7-Jan-11 4:07
cy163@hotmail.com7-Jan-11 4:07 
Questionhow to display bitmap on button using vc++ Pin
rajniyadav1a7-Jan-11 0:25
rajniyadav1a7-Jan-11 0:25 
AnswerRe: how to display bitmap on button using vc++ Pin
ShilpiP7-Jan-11 1:15
ShilpiP7-Jan-11 1:15 
QuestionHelp with PR_JoinThread Pin
manabouttown6-Jan-11 22:09
manabouttown6-Jan-11 22:09 
AnswerRe: Help with PR_JoinThread Pin
Code-o-mat6-Jan-11 23:08
Code-o-mat6-Jan-11 23:08 
QuestionHextoCString conversion Pin
S p k 5216-Jan-11 19:58
S p k 5216-Jan-11 19:58 
AnswerRe: HextoCString conversion Pin
ShilpiP6-Jan-11 20:41
ShilpiP6-Jan-11 20:41 

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.