What is the difference between multiple code resources and multiple
segments?

I understand that each code resource has to have StartupCode.lib, not like
segments.
I'm writing a multiple segment application, and I want my second segment to
have access to the basic functions of StartupCode.lib , like __ldiv__ /
__lmul__ . this lib has to be in the first segment, and it cannot exist in
both segments. how can I solve this problem, so I can use
multiplication/division operands in the second segment ?

Another question is, do multiple segments mean multiple memory chunks ?
The answer should be positive, since they're supposed to solve the 64K limit
of a chunk.
But then, if I do:

DmGet1Resource( 'code', 1 );

I get a handle to the first code resource in my application. If it's a
multiple segment resource, does the chunk point only to the first segment ?
how do I get to the second segment ? What am I missing ? please help me.

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to