Click here to Skip to main content
15,566,623 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionUsing CSplitterWnd OnCreateClient to split window Pin
cy163@hotmail.com7-Jan-11 5:32
cy163@hotmail.com7-Jan-11 5:32 
AnswerRe: Using CSplitterWnd OnCreateClient to split window Pin
Eugen Podsypalnikov7-Jan-11 10:05
Eugen Podsypalnikov7-Jan-11 10:05 
Questionmanipulation de bits dans une variable quelconque Pin
andromida7-Jan-11 4:52
andromida7-Jan-11 4:52 
AnswerRe: manipulation de bits dans une variable quelconque Pin
Yusuf7-Jan-11 4:55
Yusuf7-Jan-11 4:55 
AnswerRe: manipulation de bits dans une variable quelconque Pin
Code-o-mat7-Jan-11 4:57
Code-o-mat7-Jan-11 4:57 
AnswerRe: manipulation de bits dans une variable quelconque Pin
User 74293387-Jan-11 5:02
professionalUser 74293387-Jan-11 5:02 
AnswerRe: manipulation de bits dans une variable quelconque Pin
Luc Pattyn7-Jan-11 6:26
sitebuilderLuc Pattyn7-Jan-11 6:26 
QuestionNot able to Read Contents for File while Reading Huge Amount of data. Pin
janaswamy uday7-Jan-11 4:37
janaswamy uday7-Jan-11 4: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 4:43
mveCPallini7-Jan-11 4:43 
AnswerRe: Not able to Read Contents for File while Reading Huge Amount of data. Pin
Paresh Chitte7-Jan-11 4:54
Paresh Chitte7-Jan-11 4:54 
AnswerRe: Not able to Read Contents for File while Reading Huge Amount of data. Pin
David Crow7-Jan-11 5:12
David Crow7-Jan-11 5:12 
AnswerRe: Not able to Read Contents for File while Reading Huge Amount of data. Pin
Richard MacCutchan7-Jan-11 6:38
mveRichard MacCutchan7-Jan-11 6:38 
AnswerRe: Not able to Read Contents for File while Reading Huge Amount of data. Pin
Andrew Brock11-Jan-11 0:55
Andrew Brock11-Jan-11 0:55 
GeneralRe: Not able to Read Contents for File while Reading Huge Amount of data. Pin
janaswamy uday11-Jan-11 19:24
janaswamy uday11-Jan-11 19:24 
Question#include "testView.h" in MainFrm.cpp [modified] Pin
cy163@hotmail.com7-Jan-11 3:24
cy163@hotmail.com7-Jan-11 3:24 
AnswerRe: #include "testView.h" in MainFrm.cpp Pin
Niklas L7-Jan-11 3:43
Niklas L7-Jan-11 3:43 
GeneralRe: #include "testView.h" in MainFrm.cpp Pin
cy163@hotmail.com7-Jan-11 4:31
cy163@hotmail.com7-Jan-11 4:31 
AnswerRe: #include "testView.h" in MainFrm.cpp Pin
User 74293387-Jan-11 4:53
professionalUser 74293387-Jan-11 4:53 
GeneralRe: #include "testView.h" in MainFrm.cpp Pin
cy163@hotmail.com7-Jan-11 5:07
cy163@hotmail.com7-Jan-11 5:07 
Questionhow to display bitmap on button using vc++ Pin
rajniyadav1a7-Jan-11 1:25
rajniyadav1a7-Jan-11 1:25 
AnswerRe: how to display bitmap on button using vc++ Pin
ShilpiP7-Jan-11 2:15
ShilpiP7-Jan-11 2:15 
QuestionHelp with PR_JoinThread Pin
manabouttown6-Jan-11 23:09
manabouttown6-Jan-11 23:09 
AnswerRe: Help with PR_JoinThread Pin
Code-o-mat7-Jan-11 0:08
Code-o-mat7-Jan-11 0:08 
QuestionHextoCString conversion Pin
S p k 5216-Jan-11 20:58
S p k 5216-Jan-11 20:58 
AnswerRe: HextoCString conversion Pin
ShilpiP6-Jan-11 21:41
ShilpiP6-Jan-11 21: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.