Click here to Skip to main content
15,904,934 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Change from Cstring to double in listview vc++ Pin
Jochen Arndt20-Mar-17 3:39
professionalJochen Arndt20-Mar-17 3:39 
GeneralRe: Change from Cstring to double in listview vc++ Pin
lolici20-Mar-17 8:02
lolici20-Mar-17 8:02 
AnswerRe: Change from Cstring to double in listview vc++ Pin
Victor Nijegorodov20-Mar-17 6:56
Victor Nijegorodov20-Mar-17 6:56 
GeneralRe: Change from Cstring to double in listview vc++ Pin
lolici20-Mar-17 7:58
lolici20-Mar-17 7:58 
QuestionRe: Change from Cstring to double in listview vc++ Pin
David Crow20-Mar-17 9:52
David Crow20-Mar-17 9:52 
QuestionCrc 32 bit Pin
yagokhan19-Mar-17 21:58
yagokhan19-Mar-17 21:58 
AnswerRe: Crc 32 bit Pin
Jochen Arndt19-Mar-17 22:15
professionalJochen Arndt19-Mar-17 22:15 
AnswerRe: Crc 32 bit Pin
yagokhan19-Mar-17 22:20
yagokhan19-Mar-17 22:20 
thank you for your answer here is the code part of my project.
		for aye=bytePullIdx:(crcIdx-1) 
a = bitand(bitxor(byteBufferPtr(aye),bitshift(crc,-24)),hex2dec('FF'));
crc = bitxor(bitshift(crc,8),crcLookupTable2(a));


abowe byteBufferPtr is coming message (38bytes) crcLookupTable is pre-built table for crc polynom '04C11DB7'. after calculating crc I check if (crc==byteBufferPtr(crcIdx) condition to get the data.
Is there anything wrong here? because I could not get the right if condition here. I could not find the right crc value among the crc table values.
Thank you.
GeneralRe: Crc 32 bit Pin
Richard MacCutchan19-Mar-17 22:57
mveRichard MacCutchan19-Mar-17 22:57 
GeneralRe: Crc 32 bit Pin
yagokhan19-Mar-17 22:59
yagokhan19-Mar-17 22:59 
GeneralRe: Crc 32 bit Pin
Richard MacCutchan19-Mar-17 23:19
mveRichard MacCutchan19-Mar-17 23:19 
GeneralRe: Crc 32 bit Pin
yagokhan19-Mar-17 23:22
yagokhan19-Mar-17 23:22 
GeneralRe: Crc 32 bit Pin
Jochen Arndt20-Mar-17 2:36
professionalJochen Arndt20-Mar-17 2:36 
QuestionCatch double click on MDI client CMDIFrameWndEx Pin
_Flaviu16-Mar-17 22:19
_Flaviu16-Mar-17 22:19 
AnswerRe: Catch double click on MDI client CMDIFrameWndEx Pin
Richard MacCutchan16-Mar-17 23:46
mveRichard MacCutchan16-Mar-17 23:46 
GeneralRe: Catch double click on MDI client CMDIFrameWndEx Pin
_Flaviu17-Mar-17 0:02
_Flaviu17-Mar-17 0:02 
GeneralRe: Catch double click on MDI client CMDIFrameWndEx Pin
Richard MacCutchan17-Mar-17 0:26
mveRichard MacCutchan17-Mar-17 0:26 
GeneralRe: Catch double click on MDI client CMDIFrameWndEx Pin
_Flaviu17-Mar-17 0:40
_Flaviu17-Mar-17 0:40 
AnswerRe: Catch double click on MDI client CMDIFrameWndEx Pin
Victor Nijegorodov18-Mar-17 4:09
Victor Nijegorodov18-Mar-17 4:09 
QuestionHow to use a variable declared in another class in Visual C++ Pin
lolici16-Mar-17 3:17
lolici16-Mar-17 3:17 
AnswerRe: How to use a variable declared in another class in Visual C++ Pin
Jochen Arndt16-Mar-17 3:32
professionalJochen Arndt16-Mar-17 3:32 
GeneralRe: How to use a variable declared in another class in Visual C++ Pin
lolici16-Mar-17 4:04
lolici16-Mar-17 4:04 
GeneralRe: How to use a variable declared in another class in Visual C++ Pin
Jochen Arndt16-Mar-17 4:18
professionalJochen Arndt16-Mar-17 4:18 
GeneralRe: How to use a variable declared in another class in Visual C++ Pin
lolici16-Mar-17 5:35
lolici16-Mar-17 5:35 
GeneralRe: How to use a variable declared in another class in Visual C++ Pin
Jochen Arndt16-Mar-17 5:44
professionalJochen Arndt16-Mar-17 5:44 

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.