Click here to Skip to main content
15,922,696 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generali went and figured out a workaround Pin
joshua williams7-Jun-01 20:38
joshua williams7-Jun-01 20:38 
GeneralMAPISendMail problem Pin
5-Jun-01 8:51
suss5-Jun-01 8:51 
GeneralRe: MAPISendMail problem Pin
Erik Yuzwa8-Jun-01 7:22
Erik Yuzwa8-Jun-01 7:22 
GeneralCould someone explain the following !!! Pin
Luc Bergeron5-Jun-01 8:40
Luc Bergeron5-Jun-01 8:40 
GeneralCObList Question Pin
Chris Klecker5-Jun-01 5:35
Chris Klecker5-Jun-01 5:35 
GeneralRe: CObList Question Pin
Tomasz Sowinski5-Jun-01 5:58
Tomasz Sowinski5-Jun-01 5:58 
GeneralRe: CObList Question Pin
Chris Klecker5-Jun-01 6:00
Chris Klecker5-Jun-01 6:00 
GeneralRe: CObList Question Pin
Tomasz Sowinski5-Jun-01 6:10
Tomasz Sowinski5-Jun-01 6:10 
I'd set a breakpoint in arccore.cpp, line 318. Each object serialized via operator << is preceeded by the class name. Your problem is related to file layout - when application reads file, class name is missing/invalid. Looks like calls to CArchive methods related to writing and reading differs in order - maybe you screwed something in CYourDoc::Serialize?

BTW: Why are you using AfxIsValidAddress? I'm not sure if this is your problem, but testing for validity of the object this way seems strange. It's *your* code and you should know if m_Categories is valid or not. AfxIsValidAddress only checks if object is withing the program's memory space.

Tomasz Sowinski -- http://www.shooltz.com.pl
GeneralRe: CObList Question Pin
D.D. de Kerf6-Jun-01 20:43
D.D. de Kerf6-Jun-01 20:43 
GeneralSpeed problem with MSSQL server database Pin
Frederico Levesque5-Jun-01 5:03
Frederico Levesque5-Jun-01 5:03 
GeneralRe: Speed problem with MSSQL server database Pin
Carlos Antollini5-Jun-01 5:55
Carlos Antollini5-Jun-01 5:55 
GeneralRe: Speed problem with MSSQL server database Pin
Frederico Levesque5-Jun-01 6:32
Frederico Levesque5-Jun-01 6:32 
GeneralUsing different charsets Pin
5-Jun-01 4:30
suss5-Jun-01 4:30 
GeneralRe: Try to use CRichEditCtrl Pin
Masaaki Onishi5-Jun-01 8:33
Masaaki Onishi5-Jun-01 8:33 
GeneralUpdate tree view Pin
hearties5-Jun-01 3:49
hearties5-Jun-01 3:49 
GeneralRe: Update tree view Pin
Frederico Levesque5-Jun-01 7:50
Frederico Levesque5-Jun-01 7:50 
GeneralRe: Update tree view Pin
hearties5-Jun-01 21:52
hearties5-Jun-01 21:52 
GeneralCHtmlView and Enter key in form Pin
5-Jun-01 3:48
suss5-Jun-01 3:48 
Generalremoving minimise option from a programs taskbar tab Pin
5-Jun-01 3:15
suss5-Jun-01 3:15 
GeneralRe: removing minimise option from a programs taskbar tab Pin
Michael P Butler5-Jun-01 3:20
Michael P Butler5-Jun-01 3:20 
GeneralRe: removing minimise option from a programs taskbar tab Pin
Tomasz Sowinski5-Jun-01 3:24
Tomasz Sowinski5-Jun-01 3:24 
GeneralRe: removing minimise option from a programs taskbar tab Pin
5-Jun-01 3:40
suss5-Jun-01 3:40 
GeneralRe: removing minimise option from a programs taskbar tab Pin
Tomasz Sowinski5-Jun-01 3:50
Tomasz Sowinski5-Jun-01 3:50 
GeneralRe: removing minimise option from a programs taskbar tab Pin
5-Jun-01 15:43
suss5-Jun-01 15:43 
Generaldynamically set the text on the top of a dialog box Pin
hearties5-Jun-01 2:51
hearties5-Jun-01 2:51 

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.