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

C / C++ / MFC

 
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 
GeneralRe: Log file structures Pin
kakan12-Feb-07 1:17
professionalkakan12-Feb-07 1:17 
GeneralRe: Log file structures Pin
Waldermort12-Feb-07 2:00
Waldermort12-Feb-07 2:00 
GeneralRe: Log file structures Pin
kakan12-Feb-07 2:04
professionalkakan12-Feb-07 2:04 
QuestionCreateFileMapping/MapViewOfFile and 0xC0000005 (ACCESS_DENIED) Pin
Jeffrey Walton11-Feb-07 3:59
Jeffrey Walton11-Feb-07 3:59 
AnswerRe: CreateFileMapping/MapViewOfFile and 0xC0000005 (ACCESS_DENIED) Pin
Waldermort11-Feb-07 4:06
Waldermort11-Feb-07 4:06 
GeneralRe: CreateFileMapping/MapViewOfFile and 0xC0000005 (ACCESS_DENIED) Pin
Jeffrey Walton11-Feb-07 10:06
Jeffrey Walton11-Feb-07 10:06 
GeneralRe: CreateFileMapping/MapViewOfFile and 0xC0000005 (ACCESS_DENIED) Pin
Jeffrey Walton11-Feb-07 10:13
Jeffrey Walton11-Feb-07 10:13 
GeneralRe: CreateFileMapping/MapViewOfFile and 0xC0000005 (ACCESS_DENIED) Pin
Waldermort11-Feb-07 20:27
Waldermort11-Feb-07 20:27 
AnswerRe: CreateFileMapping/MapViewOfFile and 0xC0000005 (ACCESS_DENIED) Pin
Jeffrey Walton11-Feb-07 10:09
Jeffrey Walton11-Feb-07 10:09 
GeneralRe: CreateFileMapping/MapViewOfFile and 0xC0000005 (ACCESS_DENIED) Pin
Mark Salsbery11-Feb-07 10:41
Mark Salsbery11-Feb-07 10:41 
QuestionWeb service in the MFC, who can answer??????? Pin
Tarek Jabri11-Feb-07 2:39
Tarek Jabri11-Feb-07 2:39 
AnswerRe: Web service in the MFC, who can answer??????? Pin
Christian Graus11-Feb-07 11:43
protectorChristian Graus11-Feb-07 11:43 
QuestionXML Packet Pin
Member 292037811-Feb-07 2:37
Member 292037811-Feb-07 2:37 
AnswerRe: XML Packet Pin
Hamid_RT12-Feb-07 6:46
Hamid_RT12-Feb-07 6:46 
QuestionUML drawings of class diagrams for a general dialog based GUI application Pin
dtraj110-Feb-07 21:20
dtraj110-Feb-07 21:20 

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.