Click here to Skip to main content
15,902,189 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Working Threads Pin
Hamid_RT15-Aug-06 23:54
Hamid_RT15-Aug-06 23:54 
GeneralRe: Working Threads Pin
cv_k3n16-Aug-06 2:04
cv_k3n16-Aug-06 2:04 
GeneralRe: Working Threads Pin
Hamid_RT16-Aug-06 4:33
Hamid_RT16-Aug-06 4:33 
Questionchecksum [modified] Pin
thathvamsi13-Aug-06 18:38
thathvamsi13-Aug-06 18:38 
AnswerRe: checksum Pin
tanvon malik13-Aug-06 18:54
tanvon malik13-Aug-06 18:54 
GeneralRe: checksum Pin
Steve Echols13-Aug-06 19:23
Steve Echols13-Aug-06 19:23 
AnswerRe: checksum Pin
Michael Dunn13-Aug-06 19:29
sitebuilderMichael Dunn13-Aug-06 19:29 
GeneralRe: checksum Pin
thathvamsi13-Aug-06 19:45
thathvamsi13-Aug-06 19:45 
Hi,
I initialise checksum to zero everytime before calculating it.
Also, the data types are of signed16 or short and few are of float values.
But the received buffer is declared as char type and all the values are stored as 8 bit values in recd_buf[0] to recd_buf[max_length-1].

from the microcontroller end, the checksum is calcualted in a similar way and the checksum value is stored in the last position ie., sent_buf[max_length-1].
and in the PC end, the checksum is calculated the same way,(as in my previous message),
and the calcualted checkum is compared with the value that was sent as the last member of the packet from microcontroller.

Does this info help you? Any ideas/ suggestions?
GeneralRe: checksum -works now Pin
thathvamsi14-Aug-06 16:26
thathvamsi14-Aug-06 16:26 
AnswerRe: checksum Pin
Archyami13-Aug-06 20:33
Archyami13-Aug-06 20:33 
QuestionProcessShellCommand problem in release mode Pin
NorGUI13-Aug-06 18:08
NorGUI13-Aug-06 18:08 
QuestionHow to print the text in the new line of a multi line edit box . Pin
VCSharp00713-Aug-06 18:05
VCSharp00713-Aug-06 18:05 
AnswerRe: How to print the text in the new line of a multi line edit box . [modified] Pin
bob1697213-Aug-06 18:26
bob1697213-Aug-06 18:26 
GeneralRe: How to print the text in the new line of a multi line edit box . Pin
VCSharp00713-Aug-06 20:44
VCSharp00713-Aug-06 20:44 
GeneralRe: How to print the text in the new line of a multi line edit box . Pin
Hamid_RT13-Aug-06 21:37
Hamid_RT13-Aug-06 21:37 
Questionabout system32\netshell.dll Pin
diat13-Aug-06 18:03
diat13-Aug-06 18:03 
AnswerRe: about system32\netshell.dll [modified] Pin
A_Fa13-Aug-06 19:11
A_Fa13-Aug-06 19:11 
Generaldetails, please Pin
diat16-Aug-06 17:53
diat16-Aug-06 17:53 
GeneralRe: details, please Pin
A_Fa16-Aug-06 20:03
A_Fa16-Aug-06 20:03 
QuestionRe: about system32\netshell.dll Pin
Hamid_RT13-Aug-06 21:35
Hamid_RT13-Aug-06 21:35 
QuestionCan a function call a afx_msg function??? [modified] Pin
mimimimilaw13-Aug-06 17:33
mimimimilaw13-Aug-06 17:33 
AnswerRe: Can a function call a afx_msg function??? Pin
Hamid_RT13-Aug-06 19:33
Hamid_RT13-Aug-06 19:33 
GeneralRe: Can a function call a afx_msg function??? Pin
mimimimilaw13-Aug-06 20:18
mimimimilaw13-Aug-06 20:18 
GeneralRe: Can a function call a afx_msg function??? Pin
Hamid_RT13-Aug-06 21:26
Hamid_RT13-Aug-06 21:26 
AnswerRe: Can a function call a afx_msg function??? Pin
prasad_som13-Aug-06 19:37
prasad_som13-Aug-06 19:37 

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.