MemPtrNew doesn't call the constructor. Perhaps there is a bug in your constructor.
I put my constructors in the same segment as the other methods of the class but I don't think it matters. One problem I encountered with multiple segments was that I had a variable with the same name as a segment and the compiler simply accepted it without even a warning. This led to all kinds of memory corruption and instability. BrownB wrote: > My problem isn't related to the memory usage, because if I use MemPtrNew() > to allocate the object, I have no errors. > > In which segment do you place the contructor? Is this detail important? -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
