Click here to Skip to main content
14,662,530 members
Home » Discussions » C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Detecting a video play Pin
Sarath C9-Aug-06 4:47
MemberSarath C9-Aug-06 4:47 
GeneralRe: Detecting a video play [modified] Pin
pavan g9-Aug-06 17:55
Memberpavan g9-Aug-06 17:55 
QuestionHOW TO LOAD BITMAP IMAGE TO DIALOG FORM IN VC++ Pin
phijophlip9-Aug-06 1:51
Memberphijophlip9-Aug-06 1:51 
AnswerRe: HOW TO LOAD BITMAP IMAGE TO DIALOG FORM IN VC++ Pin
Parthi_Appu9-Aug-06 1:58
MemberParthi_Appu9-Aug-06 1:58 
AnswerRe: HOW TO LOAD BITMAP IMAGE TO DIALOG FORM IN VC++ Pin
Bravoone_20069-Aug-06 2:15
MemberBravoone_20069-Aug-06 2:15 
AnswerRe: HOW TO LOAD BITMAP IMAGE TO DIALOG FORM IN VC++ Pin
Hamid_RT9-Aug-06 2:24
MemberHamid_RT9-Aug-06 2:24 
AnswerRe: HOW TO LOAD BITMAP IMAGE TO DIALOG FORM IN VC++ Pin
Vipin Aravind9-Aug-06 5:40
MemberVipin Aravind9-Aug-06 5:40 
QuestionError in reading file Pin
Anu_Bala9-Aug-06 1:34
MemberAnu_Bala9-Aug-06 1:34 
Hi,
Im reading data from file like this..
char tTagName[16] = {0}
memset(tTagName,0,16);
PFile.Read(tTagName,16);//tTagName is PRO01_BLC101
PFile.Read(tDesc,24);//tDesc is Liquid Level
and the file looks like this...
//
PRO01_BLC101 Liquid Level % 2 //
So it read the file fine and got correct output.
But if the TagName is about 8 or 6 character it read the file wrongly..The file shows like this..
//
DFC101 DEPROP FEED M3/HR 1 //
I think it continously read 16 characters,so the tagname shows like "DFC101 DEPROP F " and tDesc is only "EED"..
How can i avoid this..B'coz i have to work with different tagname length..It may be 4 or 8 or 16 or 20..
What can i do for this?

Anu

AnswerRe: Error in reading file [modified] Pin
Parthi_Appu9-Aug-06 1:48
MemberParthi_Appu9-Aug-06 1:48 
GeneralRe: Error in reading file Pin
Anu_Bala9-Aug-06 2:08
MemberAnu_Bala9-Aug-06 2:08 
GeneralRe: Error in reading file [modified] Pin
Parthi_Appu9-Aug-06 2:23
MemberParthi_Appu9-Aug-06 2:23 
AnswerRe: Error in reading file Pin
Cedric Moonen9-Aug-06 1:49
MemberCedric Moonen9-Aug-06 1:49 
GeneralRe: Error in reading file Pin
Anu_Bala9-Aug-06 2:09
MemberAnu_Bala9-Aug-06 2:09 
AnswerRe: Error in reading file Pin
kakan9-Aug-06 2:00
professionalkakan9-Aug-06 2:00 
AnswerRe: Error in reading file Pin
Steen Krogsgaard9-Aug-06 3:19
MemberSteen Krogsgaard9-Aug-06 3:19 
AnswerRe: Error in reading file Pin
David Crow9-Aug-06 3:51
MemberDavid Crow9-Aug-06 3:51 
QuestionHow to include files in a directory in VC 8.0? Pin
narayanagvs9-Aug-06 1:15
Membernarayanagvs9-Aug-06 1:15 
AnswerRe: How to include files in a directory in VC 8.0? Pin
Viorel.9-Aug-06 1:59
MemberViorel.9-Aug-06 1:59 
AnswerRe: How to include files in a directory in VC 8.0? Pin
Vipin Aravind9-Aug-06 5:43
MemberVipin Aravind9-Aug-06 5:43 
Question.NET slow graphics? Pin
9ine9-Aug-06 0:49
Member9ine9-Aug-06 0:49 
QuestionMake buffer zero? Pin
Kiran Pinjala9-Aug-06 0:47
MemberKiran Pinjala9-Aug-06 0:47 
AnswerRe: Make buffer zero? Pin
Parthi_Appu9-Aug-06 0:50
MemberParthi_Appu9-Aug-06 0:50 
AnswerRe: Make buffer zero? Pin
Zac Howland9-Aug-06 4:30
MemberZac Howland9-Aug-06 4:30 
GeneralRe: Make buffer zero? Pin
Vipin Aravind9-Aug-06 5:45
MemberVipin Aravind9-Aug-06 5:45 
GeneralRe: Make buffer zero? Pin
Zac Howland9-Aug-06 6:03
MemberZac Howland9-Aug-06 6:03 

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.