Click here to Skip to main content
15,923,120 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Status Pane Pin
T.RATHA KRISHNAN11-Feb-07 20:23
T.RATHA KRISHNAN11-Feb-07 20:23 
QuestionRe: Status Pane Pin
prasad_som11-Feb-07 21:22
prasad_som11-Feb-07 21:22 
AnswerRe: Status Pane Pin
T.RATHA KRISHNAN11-Feb-07 21:45
T.RATHA KRISHNAN11-Feb-07 21:45 
GeneralRe: Status Pane Pin
prasad_som11-Feb-07 21:57
prasad_som11-Feb-07 21:57 
GeneralRe: Status Pane Pin
T.RATHA KRISHNAN11-Feb-07 23:08
T.RATHA KRISHNAN11-Feb-07 23:08 
GeneralRe: Status Pane Pin
David Crow12-Feb-07 2:48
David Crow12-Feb-07 2:48 
GeneralRe: Status Pane Pin
kasturi_haribabu11-Feb-07 22:02
kasturi_haribabu11-Feb-07 22:02 
QuestionRe: Status Pane Pin
David Crow12-Feb-07 2:47
David Crow12-Feb-07 2:47 
GeneralRe: Status Pane Pin
kasturi_haribabu11-Feb-07 21:57
kasturi_haribabu11-Feb-07 21:57 
GeneralRe: Status Pane Pin
T.RATHA KRISHNAN11-Feb-07 22:37
T.RATHA KRISHNAN11-Feb-07 22:37 
AnswerRe: Status Pane Pin
Hamid_RT11-Feb-07 19:42
Hamid_RT11-Feb-07 19:42 
QuestionRe: Status Pane Pin
David Crow12-Feb-07 2:45
David Crow12-Feb-07 2:45 
Questionconsole application TCP client in C++ [modified] Pin
wizard 20211-Feb-07 16:48
wizard 20211-Feb-07 16:48 
Questionopengl and color filter Pin
zqueezy11-Feb-07 11:45
zqueezy11-Feb-07 11:45 
AnswerRe: opengl and color filter Pin
cmk11-Feb-07 12:20
cmk11-Feb-07 12:20 
QuestionCListCtrl Selection problem Pin
Zombie_Inc11-Feb-07 9:44
Zombie_Inc11-Feb-07 9:44 
AnswerRe: CListCtrl Selection problem Pin
Mark Salsbery11-Feb-07 11:19
Mark Salsbery11-Feb-07 11:19 
GeneralRe: CListCtrl Selection problem Pin
Zombie_Inc11-Feb-07 11:32
Zombie_Inc11-Feb-07 11:32 
GeneralRe: CListCtrl Selection problem Pin
Mark Salsbery11-Feb-07 11:35
Mark Salsbery11-Feb-07 11:35 
GeneralRe: CListCtrl Selection problem Pin
Mark Salsbery11-Feb-07 11:50
Mark Salsbery11-Feb-07 11:50 
QuestionLog file structures Pin
Waldermort11-Feb-07 8:46
Waldermort11-Feb-07 8:46 
AnswerRe: Log file structures Pin
Mark Salsbery11-Feb-07 9:21
Mark Salsbery11-Feb-07 9:21 
GeneralRe: Log file structures Pin
Waldermort11-Feb-07 9:40
Waldermort11-Feb-07 9:40 
It's probably the best way to approach the problem. The only trouble is dealing with the items when the file reaches it's max size. Obviously the oldest entries should be removed, but going from the begininning to the end is where the problem lies. Each entry would have to be a fixed size. So lets make them 256 bytes each, but what happens when a critical error occurs and it needs 600 bytes to log the error?

So I'm thinking of a structure similar to a FAT table. IE have allocation slots within the file, but the problem here is how to index them.
GeneralRe: Log file structures Pin
Mark Salsbery11-Feb-07 10:28
Mark Salsbery11-Feb-07 10:28 
GeneralRe: Log file structures Pin
Waldermort11-Feb-07 20:40
Waldermort11-Feb-07 20:40 

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.