Addendum: COleServerDoc-derived class exception failure 
Author Message
 Addendum: COleServerDoc-derived class exception failure

G'day again folks!

I've discovered that COleServerDoc::OnNewDocument() is returning FALSE,
which is causing my own OnNewDocument() to return before my "immense"
data structure is established. Because everything is done with CArray's,
all the array members have 0 length, and I'm unable to read or write to
the structure. My OnNewDocument() actually initialises a default
structure with at least one element in every array, in order to overcome
this problem. But, as I've said, this code never gets executed. I've
been unable to trace the code for COleServerDoc::OnNewDocument(),
because I get a message saying "cannot step through system code" before
I get there, and I'm unable to debug any further. What is it that causes
OnNewDocument to return FALSE?

I'm thinking of moving my code to before the call to
COleServerDoc::OnNewDocument(). What sort of ramifications are there if
I do that?

Thanks people!

Sat, 18 Sep 1999 03:00:00 GMT  
 [ 1 post ] 

 Relevant Pages 

1. COleServerDoc-derived class exception failure

2. Failure to Serialize (read) a CObject derived class

3. New Class derived from Class which derived from CWindowImpl

4. Activating the class wizard on a derived-derived Cwnd class

5. How to Create CCtrlView derived class based on CTreeCtrl derived class

6. How to Create CCtrlView derived class based on CTreeCtrl derived class

7. Exporting class derived from std::exception hierarchy

8. Exporting a class derived from exception?

9. W4 warning - throwing CObject derived class as exception

10. Class in class OR class derived from class?

11. Class Wizard won't let me derive a class from my class

12. Derived Interface implemented in derived class not found


Powered by phpBB® Forum Software