Click here to Skip to main content
15,890,185 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generala simple question about global variable Pin
Gérald Mercet20-Aug-01 23:04
Gérald Mercet20-Aug-01 23:04 
GeneralRe: a simple question about global variable Pin
Christian Graus20-Aug-01 23:29
protectorChristian Graus20-Aug-01 23:29 
GeneralRe: a simple question about global variable Pin
Gérald Mercet20-Aug-01 23:43
Gérald Mercet20-Aug-01 23:43 
GeneralRe: a simple question about global variable Pin
Christian Graus20-Aug-01 23:53
protectorChristian Graus20-Aug-01 23:53 
GeneralRe: a simple question about global variable Pin
Malcolm McMahon21-Aug-01 0:36
Malcolm McMahon21-Aug-01 0:36 
Generalcrypt Pin
20-Aug-01 22:37
suss20-Aug-01 22:37 
GeneralRe: crypt Pin
Tim Deveaux21-Aug-01 6:15
Tim Deveaux21-Aug-01 6:15 
GeneralSerialization Pin
Nick Armstrong20-Aug-01 22:09
Nick Armstrong20-Aug-01 22:09 
I am creating a SDI application. The document keeps track of a single instance of a grid class which I need to save the state of. I have derived the grid class from CObject and am using the Serialize member function of the document class. My problem is that it does not seem to save anything of the user-defined grid class. I tried just saving an int value as well to make sure that it was actually serializing properly and it was. I derived my class (Grid) from CObject and placed the line DECLARE_SERIAL( Grid ) in the public section, and finally placed IMPLEMENT_SERIAL(Grid,CObject,1) at the bottom of my document class but no joy. Any ideas as to what I'm doing wrong?

Thanks for any help in advance

Nick
Confused | :confused:
GeneralRe: Serialization Pin
Niklas L20-Aug-01 22:32
Niklas L20-Aug-01 22:32 
GeneralHELP !!! CHARFORMAT2 and yHeight Pin
20-Aug-01 21:42
suss20-Aug-01 21:42 
GeneralMDI application Pin
The_Server20-Aug-01 21:14
The_Server20-Aug-01 21:14 
GeneralRe: MDI application Pin
Ulf Öhlén20-Aug-01 22:36
Ulf Öhlén20-Aug-01 22:36 
GeneralCompress Pin
20-Aug-01 20:21
suss20-Aug-01 20:21 
GeneralRe: Compress Pin
Christian Graus21-Aug-01 0:51
protectorChristian Graus21-Aug-01 0:51 
GeneralCOleDateTimeSpan wierdness.... Pin
Liam O'Hagan20-Aug-01 20:13
Liam O'Hagan20-Aug-01 20:13 
GeneralRe: COleDateTimeSpan wierdness.... Pin
Kelly Herald21-Aug-01 17:13
Kelly Herald21-Aug-01 17:13 
GeneralRe: COleDateTimeSpan wierdness.... Pin
Liam O'Hagan21-Aug-01 20:54
Liam O'Hagan21-Aug-01 20:54 
GeneralSome body Help me !!! Pin
quangpm09a20-Aug-01 15:16
quangpm09a20-Aug-01 15:16 
GeneralRe: Some body Help me !!! Pin
Sam C20-Aug-01 15:46
Sam C20-Aug-01 15:46 
QuestionIt's friggin HUGE! Is VC++ on crack? Pin
Todd Smith20-Aug-01 14:04
Todd Smith20-Aug-01 14:04 
AnswerRe: It's friggin HUGE! Is VC++ on crack? Pin
CodeGuy21-Aug-01 2:09
CodeGuy21-Aug-01 2:09 
QuestionOnly got a .dll file; Now what?? Pin
20-Aug-01 12:55
suss20-Aug-01 12:55 
AnswerRe: Only got a .dll file; Now what?? Pin
Ben Burnett20-Aug-01 14:18
Ben Burnett20-Aug-01 14:18 
AnswerRe: Only got a .dll file; Now what?? Pin
The_Server20-Aug-01 20:40
The_Server20-Aug-01 20:40 
AnswerRe: Only got a .dll file; Now what?? Pin
Mukkie21-Aug-01 7:08
Mukkie21-Aug-01 7:08 

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.