Click here to Skip to main content
15,914,481 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: strange problem with MSVCRT [modified] Pin
sunit59-Aug-06 23:39
sunit59-Aug-06 23:39 
GeneralRe: strange problem with MSVCRT Pin
sach!!10-Aug-06 0:02
sach!!10-Aug-06 0:02 
GeneralRe: strange problem with MSVCRT Pin
AbhishekBK10-Aug-06 1:07
AbhishekBK10-Aug-06 1:07 
GeneralRe: strange problem with MSVCRT Pin
sach!!10-Aug-06 21:02
sach!!10-Aug-06 21:02 
GeneralRe: strange problem with MSVCRT Pin
AbhishekBK10-Aug-06 22:42
AbhishekBK10-Aug-06 22:42 
QuestionMaking Forward Declaration Class's enum Member Visible Pin
yccheok9-Aug-06 21:43
yccheok9-Aug-06 21:43 
Questionsend data from mdichild to other mdichild Pin
ms.linuz9-Aug-06 21:36
ms.linuz9-Aug-06 21:36 
QuestionFile reading error Pin
Anu_Bala9-Aug-06 21:30
Anu_Bala9-Aug-06 21:30 
Hi..error in reading...
void ReadModelDetail()
{
char FileBuffer[25] = {0}, TempString[15] ={0};
char cTagLength[5];
char tModelName[25]={0},tDesc[60]={0};
int Count=0,iCount=0;
CModelInfo *info;
if(!OpenReadModel())
{
return;
}
OModelList.RemoveAll();
memset(TempString,0,15);
memset(FileBuffer,0,20);
MdlFile.Read( FileBuffer, DEF_HEADERSIZE );//It reads "Esim"
MdlFile.Read( TempString,sizeof(int)); //it reads "6"
Count = atoi(TempString);
for(iCount=0; iCount< Count; iCount++)
{
memset(tModelName,0,25);
MdlFile.Read(tModelName,25); //It should read "PPS01" but it read "S01"
}
CloseReadModel();
}

The file looks like this ESIM 6 PPS01..
The Model name is PPS01..but it reads like tht it neglect first 2 characters in the name and read only "S01" if the model name is DT002 then it reads on ly "002"..
What can i do?


Anu

AnswerRe: File reading error Pin
Cedric Moonen9-Aug-06 21:43
Cedric Moonen9-Aug-06 21:43 
AnswerRe: File reading error Pin
David Crow10-Aug-06 3:22
David Crow10-Aug-06 3:22 
QuestionCan i store DC content as bitmap [modified] Pin
Ramu.e9-Aug-06 21:20
Ramu.e9-Aug-06 21:20 
AnswerRe: Can i store DC content as bitmap Pin
Naveen9-Aug-06 21:30
Naveen9-Aug-06 21:30 
AnswerRe: Can i store DC content as bitmap Pin
Hamid_RT9-Aug-06 21:43
Hamid_RT9-Aug-06 21:43 
AnswerRe: Can i store DC content as bitmap Pin
Hamid_RT9-Aug-06 22:26
Hamid_RT9-Aug-06 22:26 
Questionevent viewer writting problem Pin
_tasleem9-Aug-06 21:16
_tasleem9-Aug-06 21:16 
AnswerRe: event viewer writting problem Pin
kakan9-Aug-06 23:27
professionalkakan9-Aug-06 23:27 
Questionvirtual destructor Pin
lavate malllik9-Aug-06 21:07
lavate malllik9-Aug-06 21:07 
AnswerRe: virtual destructor Pin
ThatsAlok9-Aug-06 21:19
ThatsAlok9-Aug-06 21:19 
GeneralRe: virtual destructor Pin
lavate malllik9-Aug-06 21:29
lavate malllik9-Aug-06 21:29 
AnswerRe: virtual destructor Pin
toxcct9-Aug-06 21:26
toxcct9-Aug-06 21:26 
GeneralRe: virtual destructor Pin
lavate malllik9-Aug-06 21:32
lavate malllik9-Aug-06 21:32 
GeneralRe: virtual destructor Pin
Zac Howland10-Aug-06 4:17
Zac Howland10-Aug-06 4:17 
AnswerRe: virtual destructor Pin
Hamid_RT9-Aug-06 21:29
Hamid_RT9-Aug-06 21:29 
Questionautomation ,passing bitmap in MSWord Pin
Sopi Singh9-Aug-06 20:51
Sopi Singh9-Aug-06 20:51 
QuestionSerial port communication using VC++ Pin
I_arora9-Aug-06 20:38
I_arora9-Aug-06 20:38 

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.