Click here to Skip to main content
15,909,373 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to make the cursor move to end of a multiline edit box ? Pin
fantasy121525-Nov-08 3:21
fantasy121525-Nov-08 3:21 
GeneralRe: How to make the cursor move to end of a multiline edit box ? Pin
kapardhi25-Nov-08 18:05
kapardhi25-Nov-08 18:05 
QuestionHow to::Timing mechanism and synronization in MFC? Pin
atillaselem25-Nov-08 2:12
atillaselem25-Nov-08 2:12 
AnswerRe: How to::Timing mechanism and synronization in MFC? Pin
Randor 25-Nov-08 3:43
professional Randor 25-Nov-08 3:43 
GeneralRe: How to::Timing mechanism and synronization in MFC? Pin
atillaselem25-Nov-08 4:25
atillaselem25-Nov-08 4:25 
GeneralRe: How to::Timing mechanism and synronization in MFC? Pin
Randor 25-Nov-08 6:25
professional Randor 25-Nov-08 6:25 
GeneralRe: How to::Timing mechanism and synronization in MFC? Pin
atillaselem25-Nov-08 7:12
atillaselem25-Nov-08 7:12 
GeneralRe: How to::Timing mechanism and synronization in MFC? Pin
Randor 25-Nov-08 8:17
professional Randor 25-Nov-08 8:17 
It seems that you have alot of architectural decisions to make. I don't know enough about your specific requirements to give you a specific direction. Here are some of my thoughts on the subject.

I can say that most 3D applications will render the scene as fast as possible and do not care about how fast or slow the datagrams are arriving. If some of the 3D spacial information is missing many applications use a copy of the last known coordinate + direction/speed etcetera. Also keep in mind that UDP datagrams may be received out of sequence if passing through multiple routers over a WAN. Which means if the server sends packet 1 then packet 2... You may recieve packet 2 before packet 1. TCP does not suffer from this limitation but requires much more overhead as you well know.

Its really your choice if you want to limit frame rate and remain synchronous with the data update rate. Some simulators can be implemented this way if they require the spacial data to be exactly as the motion estimators. If you have such a requirement then you can use the CreateEvent[^], OpenEvent[^] and SetEvent[^] to inform the scene renderer when data arrival has completed and it can safely render the next frame.

The choice is yours if you want frame rate to depend on UDP network speed.

Hope it helps,
-David Delaune
GeneralRe: How to::Timing mechanism and synronization in MFC? Pin
atillaselem25-Nov-08 20:51
atillaselem25-Nov-08 20:51 
QuestionTrying to create a log file using Notepad Pin
AnithaSubramani25-Nov-08 2:07
AnithaSubramani25-Nov-08 2:07 
AnswerRe: Trying to create a log file using Notepad Pin
Cedric Moonen25-Nov-08 2:26
Cedric Moonen25-Nov-08 2:26 
AnswerRe: Trying to create a log file using Notepad Pin
Nibu babu thomas25-Nov-08 2:55
Nibu babu thomas25-Nov-08 2:55 
QuestionCreate two files with the same name but different extention Pin
Member 198099925-Nov-08 2:05
Member 198099925-Nov-08 2:05 
AnswerRe: Create two files with the same name but different extention Pin
Nibu babu thomas25-Nov-08 2:24
Nibu babu thomas25-Nov-08 2:24 
GeneralRe: Create two files with the same name but different extention Pin
Member 198099925-Nov-08 2:30
Member 198099925-Nov-08 2:30 
AnswerRe: Create two files with the same name but different extention Pin
Iain Clarke, Warrior Programmer25-Nov-08 2:51
Iain Clarke, Warrior Programmer25-Nov-08 2:51 
AnswerRe: Create two files with the same name but different extention Pin
David Crow25-Nov-08 14:21
David Crow25-Nov-08 14:21 
GeneralRe: Create two files with the same name but different extention Pin
Member 198099926-Nov-08 0:30
Member 198099926-Nov-08 0:30 
Questionmultiple modaless dialogs Pin
josip cagalj25-Nov-08 1:56
josip cagalj25-Nov-08 1:56 
AnswerRe: multiple modaless dialogs Pin
Nibu babu thomas25-Nov-08 2:21
Nibu babu thomas25-Nov-08 2:21 
GeneralRe: multiple modaless dialogs Pin
josip cagalj25-Nov-08 2:56
josip cagalj25-Nov-08 2:56 
GeneralRe: multiple modaless dialogs Pin
Rick York25-Nov-08 10:19
mveRick York25-Nov-08 10:19 
GeneralVC6 on Vista 64-Bit Pin
hairy_hats25-Nov-08 1:24
hairy_hats25-Nov-08 1:24 
GeneralRe: VC6 on Vista 64-Bit Pin
Randor 25-Nov-08 3:23
professional Randor 25-Nov-08 3:23 
Question_ftime() and leap seconds Pin
vikramlinux25-Nov-08 1:11
vikramlinux25-Nov-08 1:11 

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.