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
"Ritesh" <[EMAIL PROTECTED]> wrote in message
news:34059@palm-dev-forum...
>
> Hi Christopher,
> You can find out whether palm desktop is installed by querying the
> registry.The palm Desktop info is stored in:
> HKEY_CURRENT_USER\Software\U.S. Robotics\Pilot Desktop\Core . Extract the
> "Path" key it stores the Location of installation of Palm Desktop.
> You can also find out the Path to Hotsync and other apps there.
> I hope this helps.
> Ritesh
>
> ----- Original Message -----
> From: Kip Krueger
> To: Palm Developer Forum
> Sent: Wednesday, December 27, 2000 5:29 AM
> Subject: how to detect that Palm Desktop is installed
>
>
> Hi,
>
> What is the most appropriate way for my 3rd party application
> to programmatically determine that the Palm Desktop application is
> installed on
> the machine upon which I am running (Windows 2000)?
>
> Thanks in advance.
>
> Christopher
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
> please see http://www.palmos.com/dev/tech/support/forums/
>
>
>
> _________________________________________________________
>
> Do You Yahoo!?
>
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>
>
>
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/