Click here to Skip to main content
16,007,163 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Unzip a file through VC++ Pin
Jack Mott6-Jul-01 8:26
Jack Mott6-Jul-01 8:26 
GeneralRe: Unzip a file through VC++ Pin
PJ Arends6-Jul-01 10:54
professionalPJ Arends6-Jul-01 10:54 
GeneralRe: Unzip a file through VC++ Pin
Bjarke Viksoe7-Jul-01 4:55
Bjarke Viksoe7-Jul-01 4:55 
GeneralRe: Unzip a file through VC++ Pin
9-Jul-01 2:20
suss9-Jul-01 2:20 
GeneralSerializing a linked_list class, HELP Pin
mr20036-Jul-01 3:26
mr20036-Jul-01 3:26 
GeneralRe: Serializing a linked_list class, HELP Pin
Tomasz Sowinski6-Jul-01 3:40
Tomasz Sowinski6-Jul-01 3:40 
GeneralRe: Serializing a linked_list class, HELP Pin
mr20036-Jul-01 4:52
mr20036-Jul-01 4:52 
GeneralRe: Serializing a linked_list class, HELP Pin
Tomasz Sowinski6-Jul-01 5:17
Tomasz Sowinski6-Jul-01 5:17 
1) Your linked_list::Serialize should write more information - when reading list contents, you have to know when to stop. You can do one of the following:

(a) write number of items before item contents
(b) write boolean flag before each item. true means that there's more data, false means 'no more list items available'

All this stuff comes for free when you use CTypedPtrList - you have only to implement Serialize for the item class.


2) Before serializing convert your bitmaps to dib sections (search for MFC wrapper at CodeProject), then use CArchive::Read/CArchive::Write.

Tomasz Sowinski -- http://www.shooltz.com
GeneralRe: Serializing a linked_list class, HELP Pin
mr20036-Jul-01 7:02
mr20036-Jul-01 7:02 
GeneralSerializing a linked_list class Pin
mr20036-Jul-01 3:25
mr20036-Jul-01 3:25 
GeneralMenubar in doc/view Pin
EiSl6-Jul-01 1:56
EiSl6-Jul-01 1:56 
GeneralRe: Menubar in doc/view Pin
Tomasz Sowinski6-Jul-01 2:20
Tomasz Sowinski6-Jul-01 2:20 
GeneralWeb Service Pin
6-Jul-01 1:29
suss6-Jul-01 1:29 
GeneralRe: Web Service Pin
Tomasz Sowinski6-Jul-01 1:45
Tomasz Sowinski6-Jul-01 1:45 
GeneralRe: Web Service Pin
6-Jul-01 2:33
suss6-Jul-01 2:33 
GeneralRe: Web Service Pin
Tomasz Sowinski6-Jul-01 2:40
Tomasz Sowinski6-Jul-01 2:40 
GeneralRe: Web Service Pin
6-Jul-01 2:48
suss6-Jul-01 2:48 
GeneralRe: Web Service Pin
Tomasz Sowinski6-Jul-01 2:57
Tomasz Sowinski6-Jul-01 2:57 
GeneralRe: Web Service Pin
6-Jul-01 3:16
suss6-Jul-01 3:16 
QuestionDoes HTTP SendRequest block? Pin
neilbennevis6-Jul-01 0:41
neilbennevis6-Jul-01 0:41 
QuestionIs there any smart people? Pin
5-Jul-01 21:39
suss5-Jul-01 21:39 
AnswerRe: Is there any smart people? Pin
6-Jul-01 3:34
suss6-Jul-01 3:34 
GeneralRe: Is there any smart people? Pin
6-Jul-01 4:15
suss6-Jul-01 4:15 
AnswerRe: Is there any smart people? Pin
#realJSOP6-Jul-01 4:45
professional#realJSOP6-Jul-01 4:45 
GeneralRe: Is there any smart people? Pin
6-Jul-01 12:34
suss6-Jul-01 12:34 

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.