> Use the CDK API set that Palm Inc provide for this purpose.

You probably should if you can, however, I think that sometimes it's
reasonable to look at the registry entries directly. In our TurboSync
components I use a registry entry to find the sync manager dlls, so that
I can explicitly load them (because Delphi will load the TurboSync
components when it starts, which means the dlls get loaded, and the sync
manager dlls are not usually on the path).

It might be more technically correct to include one of the CDK dlls with
the components, so that they could load that, find the other dlls, and
then load the real ones (because as Roger says, at some time Palm may
stop using the registry). However, if that ever comes to pass, then the
dll included with the components won't work either (because it only
knows to look in the registry for the path) and will require an update,
so either way the user (ie Delphi programmer) is going to require an
update of something, so I hit the registry directly. 

You just need to be aware that your software might break at some point
in the future. 

Cheers,
Jim Cooper

_____________________________________________

Jim Cooper      [EMAIL PROTECTED]
Tabdee Ltd      http://www.tabdee.ltd.uk

TurboSync - Writing Palm conduits with Delphi
_____________________________________________

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

Reply via email to