Click here to Skip to main content
15,926,596 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionUpdateWindow is required? Pin
Sarath C5-Jul-06 20:35
Sarath C5-Jul-06 20:35 
AnswerRe: UpdateWindow is required? Pin
Hamid_RT5-Jul-06 20:41
Hamid_RT5-Jul-06 20:41 
GeneralRe: UpdateWindow is required? Pin
Sarath C5-Jul-06 20:50
Sarath C5-Jul-06 20:50 
GeneralRe: UpdateWindow is required? Pin
Sarath C5-Jul-06 20:55
Sarath C5-Jul-06 20:55 
GeneralRe: UpdateWindow is required? Pin
Hamid_RT5-Jul-06 21:25
Hamid_RT5-Jul-06 21:25 
QuestionMAXDWORD Pin
thathvamsi5-Jul-06 20:34
thathvamsi5-Jul-06 20:34 
AnswerRe: MAXDWORD Pin
Hamid_RT5-Jul-06 20:38
Hamid_RT5-Jul-06 20:38 
GeneralRe: MAXDWORD [modified] Pin
thathvamsi5-Jul-06 20:48
thathvamsi5-Jul-06 20:48 
Is setting the ReadIntervalTimeout in COMMTIMEOUTS to MAXDWORD with zeros for both the ReadTotalTimeoutConstant and ReadTotalTimeoutMultiplier members correct? Can this setting of the SetCommTimeOuts be the problem for receiving the same packet everytime in my application.

This is with reference to my previous question posted an hr ago.
Can you help me with this please?

my previous question is :
I have established serial communication with RABBIT3000 (an 8 bit microcontroller).

The packet from the microcontroller is sent to the PC only on the PC demanding it. The demand is sent through one of the variables in the packet sent from PC.

When the PC receives packet from the microcontroller, it receives the correct packet for the first time. During my second request and further,
the Pc keeps receiving the same packet that it received first.
The packet from the microcontroller is updated on some conditions so that its different values in the packet memebers each time it is sent to teh PC on demand.
but when I try sending a different packet (microcontroller updates the packet structure members) to the PC, it still receives only the same packet that it received first and not the updated one.

I receive the packet using Readfile and store the values in a circular buffer.

On the microcontrollers end, the changed values is what is sent in the packet. I have debugged on the microcontroller end and it is fine.
Why is the PC receiving the same packet ?
What could be the possibility? any suggestions?


-- modified at 2:50 Thursday 6th July, 2006
QuestionHow to get data from database into a propertypage Pin
vc++_fragrance5-Jul-06 20:30
vc++_fragrance5-Jul-06 20:30 
AnswerRe: How to get data from database into a propertypage [modified] Pin
Sarath C5-Jul-06 20:59
Sarath C5-Jul-06 20:59 
GeneralRe: How to get data from database into a propertypage Pin
vc++_fragrance5-Jul-06 21:38
vc++_fragrance5-Jul-06 21:38 
GeneralRe: How to get data from database into a propertypage Pin
Sarath C5-Jul-06 21:42
Sarath C5-Jul-06 21:42 
GeneralRe: How to get data from database into a propertypage Pin
vc++_fragrance5-Jul-06 22:12
vc++_fragrance5-Jul-06 22:12 
QuestionFont of text on button with color Pin
ashish dogra5-Jul-06 20:27
ashish dogra5-Jul-06 20:27 
AnswerRe: Font of text on button with color Pin
Abhi Lahare5-Jul-06 20:32
Abhi Lahare5-Jul-06 20:32 
GeneralRe: Font of text on button with color Pin
ashish dogra5-Jul-06 20:39
ashish dogra5-Jul-06 20:39 
AnswerRe: Font of text on button with color Pin
Hamid_RT5-Jul-06 20:40
Hamid_RT5-Jul-06 20:40 
GeneralRe: Font of text on button with color [modified] Pin
ashish dogra5-Jul-06 20:50
ashish dogra5-Jul-06 20:50 
GeneralRe: Font of text on button with color Pin
Hamid_RT5-Jul-06 21:29
Hamid_RT5-Jul-06 21:29 
GeneralRe: Font of text on button with color Pin
ashish dogra5-Jul-06 22:21
ashish dogra5-Jul-06 22:21 
GeneralRe: Font of text on button with color Pin
Hamid_RT6-Jul-06 1:00
Hamid_RT6-Jul-06 1:00 
AnswerRe: Font of text on button with color Pin
Sarath C5-Jul-06 21:13
Sarath C5-Jul-06 21:13 
Questionplease tell me what is the breakpoint how we can use this in our progarm [modified] Pin
vasusree5-Jul-06 20:22
vasusree5-Jul-06 20:22 
AnswerRe: please tell me what is the breakpoint how we can use this in our progarm [modified] Pin
Sarath C5-Jul-06 21:06
Sarath C5-Jul-06 21:06 
GeneralRe: please tell me what is the breakpoint how we can use this in our progarm Pin
vasusree5-Jul-06 21:16
vasusree5-Jul-06 21:16 

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.