Three questions:
1) The memo.prc application in the palm has it's associated database
MemoDB.pdb. Is this correct?? There is also the unique creator ID of
'memo'. Now, I want to modify the palm memo application for practice, and
want to have it with my creator id of jlg5 (registered) and more
importantly, its own database which I call MemoDB35. In the palm program I
explicitly changed the creator id and database names to the above, and did
the same in my special memcn35d.dll that I build from the CDK sample (I wish
I was as codely prolific as you guys; I'd be able to afford a haircut
today...). Anyway, I upload to my 3.3 OS Palm V and the emulator. Upon
examination and download from the emulator of memo-related DB's, I realize
that the MemoDB35 is not a pdb file but a prc file, identical to my memo.prc
application! In fact, my app and the rom's app use the same MemoDB
database. This is NOT what is want. I wanted the MemoDB35.pdb file to be
created and used solely by my jlg5 app. What am I missing here???
2) In the memopad code, some functions are declared extern with volatile
variables. Why is that? Also, why are functions passed as parameters typed
as
typedef UInt16 WriteFunctionF(...) rather than the usual
typedef UInt16 (* WriteFunctionF) (...) with C/C++ ??
3) Finally, what does the pragma mark --- do in the code?
Thanks.
Jason Grace
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/