Click here to Skip to main content
15,906,766 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Sorting a 2 dimensional array HELP PLS Pin
jaye218-Dec-03 10:26
jaye218-Dec-03 10:26 
GeneralRe: Sorting a 2 dimensional array HELP PLS Pin
David Crow8-Dec-03 10:52
David Crow8-Dec-03 10:52 
QuestionNot understand! Why the projects, created by original manufacturers for their products,don't built successfully? Pin
zhaopzhi7-Dec-03 18:23
zhaopzhi7-Dec-03 18:23 
AnswerRe: Not understand! Why the projects, created by original manufacturers for their products,don't built successfully? Pin
David Crow8-Dec-03 8:26
David Crow8-Dec-03 8:26 
GeneralLive Update Pin
BaldwinMartin7-Dec-03 17:37
BaldwinMartin7-Dec-03 17:37 
GeneralRe: Live Update Pin
Peter Molnar8-Dec-03 13:02
Peter Molnar8-Dec-03 13:02 
GeneralRe: Live Update Pin
BaldwinMartin8-Dec-03 13:20
BaldwinMartin8-Dec-03 13:20 
GeneralRe: Live Update Pin
Peter Molnar8-Dec-03 15:09
Peter Molnar8-Dec-03 15:09 
Hi Marty!

BaldwinMartin wrote:
Rain all week here in sunny California

In central Europe We have now the pleasure of temperatures around the freezing point. Just to keep you motivated.

If your "live update" is supposed to pass data only (the opposite could be: program parts, e.g.: a *.dll) then an *.ini file should do the job,
but a whole database, or *.xml file to pass would also be possible. You should make your choice depending on the data type. (Simple, linewise data: *.ini file; items with many optional attributes, structured data: *.xml or database)

As for the frequency of live update, you shouldn't overcomplicate your task. When your client apps get started (or at most daily), they should definitly check for an update and optionally you could leave the user a button for this, too.
The client's check for a newer version on the server should be as simple as possible. You could check for the availability of a file in the update dir on the server and download the new version, if the version number of this file is greater than the client's one.

Example:
http://server/update/versioninfo.txt contains only 4 bytes, the four digit representation of the version number. If this number is greater than the client's current version then the client automatically downloads http://server/update/newversion.ini which always contains the "freshest" info.
As you see a client's daily check is not more than downloading just 4 bytes from your server, which (provided you dont have zillions of clients) is not a huge network overhead.

Maybe then you could also increase the duration of your much needed vacation to over 240.


Peter Molnar
GeneralRe: Live Update Pin
BaldwinMartin9-Dec-03 7:26
BaldwinMartin9-Dec-03 7:26 
GeneralZooming a window; Pin
Bo Hunter7-Dec-03 16:18
Bo Hunter7-Dec-03 16:18 
GeneralRe: Zooming a window; Pin
Roger Allen8-Dec-03 1:34
Roger Allen8-Dec-03 1:34 
GeneralPreTranslateMessage Pin
Vancouver7-Dec-03 14:26
Vancouver7-Dec-03 14:26 
GeneralRe: PreTranslateMessage Pin
twing7-Dec-03 16:33
twing7-Dec-03 16:33 
GeneralThe solution Pin
Vancouver7-Dec-03 17:19
Vancouver7-Dec-03 17:19 
GeneralConditional Resources Pin
Bo Hunter7-Dec-03 13:51
Bo Hunter7-Dec-03 13:51 
GeneralRe: Conditional Resources Pin
Michael Dunn7-Dec-03 20:13
sitebuilderMichael Dunn7-Dec-03 20:13 
GeneralRe: Conditional Resources Pin
Anonymous7-Dec-03 20:35
Anonymous7-Dec-03 20:35 
GeneralBoring Dialog Application Pin
thowra7-Dec-03 11:05
thowra7-Dec-03 11:05 
GeneralRe: Boring Dialog Application Pin
Jörgen Sigvardsson7-Dec-03 12:42
Jörgen Sigvardsson7-Dec-03 12:42 
GeneralRe: Boring Dialog Application Pin
thowra7-Dec-03 14:05
thowra7-Dec-03 14:05 
GeneralRe: Boring Dialog Application Pin
Anthony_Yio7-Dec-03 15:01
Anthony_Yio7-Dec-03 15:01 
GeneralRe: Boring Dialog Application Pin
Jörgen Sigvardsson7-Dec-03 21:39
Jörgen Sigvardsson7-Dec-03 21:39 
GeneralDrag & drop Pin
Johannes Grunedal7-Dec-03 9:04
Johannes Grunedal7-Dec-03 9:04 
GeneralRe: Drag & drop Pin
Michael Dunn7-Dec-03 9:55
sitebuilderMichael Dunn7-Dec-03 9:55 
GeneralRe: Drag & drop Pin
twing7-Dec-03 18:19
twing7-Dec-03 18:19 

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.