Hi,
> - 'new CMyDatabaseClass;' is being called in my PilotMain().
> - 59 total segments as reported in the MAP file.
> - PilotMain() is in the first segment.
> - All code for the database class is in the first segment.
i had the same problem too and i found a tip in another newsgroup
(sybase.public.sqlanywhere.ultralite) which worked for me!
make sure there are NO empty segments in your map-file
empty segments may look like this:
...
Segment: 15 12 bytes "ULG394"
Segment: 16 12 bytes "ULG395"
...
if you found such a segment then search in your generated ultralite
class-files for this segment-name and write down the class-name
which belongs to this segment.(for me it were table-classes, which
i didn't access directly). create (anywhere?) in your source-code
variables of that class(type) to force the linker to include code
in the empty segments. you don't have to use these variables in your
code - the variables should only be there.
additionally try the large code-model!
i hope this works for you!
ronny
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/