You would be better off sticking to the InstallAid routines in the CDK.
When/if Palm changes registry entries, you would suddenly then have and app
that no longer worked. The CDK won't specifically tell you that the desktop
is installed but you know if Hotsync is there and then could figure out
which conduits are installed.
----- Original Message -----
From: "GB" <[EMAIL PROTECTED]>
Newsgroups: palm-dev-forum
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Friday, October 19, 2001 11:55 AM
Subject: Re: how to detect that Palm Desktop is installed
> I was thinking maybe something like:
>
> HKEY hkey;
> if(RegOpenKeyEx(HKEY_CLASSES_ROOT, TEXT(".PRC"), 0, 0, &hkey) !=
> ERROR_SUCCESS)
> {
> Application->MessageBox("In order to run this application, you must
first
> install the Palm Desktop.",
> "Palm Desktop Not Found", MB_OK);
> return; // not found
> }
> RegCloseKey(hkey);
> // found
>
> It doesn't explicitly tell you that the Desktop is installed, but it tells
> you
> that there is an association with the file extension PRC.
>
> GB
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/