Uzytkownik "Ben Combee" <[EMAIL PROTECTED]> napisal w wiadomosci
news:[EMAIL PROTECTED]
> At 04:39 PM 12/15/2003, Andrzej Ciarkowski wrote:
> >Hello. I'm trying to find out wheter CodeWarrior puts vtables generated
for
> >C++ classes into global data or code segment. From what I see when
browsing
> >generated .MAP files it seems that they go rather into global data. Am I
> >right? Is there any switch that would cause CW to emit vtables into code
> >segment, so that objects of polymorphic classes could be used from within
> >system notification handler?
>
> C++ virtual function tables (vtables) cannot go into the code segment,
> since they contain pointers that have to be set at runtime, and the values
> in the code segment cannot be changed.  Expanded mode (in CW V8.3 or 9.2)
> supports putting vtables in an expanded data section that lives on the
> storage heap, but there's no way to put them in the code segment due to
the
> Palm OS runtime model.

Thank you - excellent reaction time :-) BTW: What's the difference between
Expanded and Expanded-A5 jumptable mode?
Andrzej



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to