The simple way is to just assign it, idNo = 'XX22'.  If you must convert
from a string though, put the string in a character array, then try:
        idNo =
idStr[3]*0x01000000+idStr[2]*0x00010000+idStr[1]*0x00000100+idStr[0];
That should work, although I haven't confirmed it (the indices might be
reversed).
Regards,
Steve

-----Original Message-----
From: Charles Rezsonya [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 27, 2000 4:12 PM
To: Palm Developer Forum
Subject: Re: detecting if an app is installed


hmmmmmm,...... i just started trying that.  at first i thought it wasn't
working but then i found that it doesn't work with open dbs.

anywaz,  say i have a string "XX22", and i want to use that as the search
pattern,... i would normally pass 'XX22' which is an int.  how do i convert
the string into the ' ' format?

-----Original Message-----
From: McMicken, Steven <[EMAIL PROTECTED]>
To: Palm Developer Forum <[EMAIL PROTECTED]>
Cc: '[EMAIL PROTECTED]' <[EMAIL PROTECTED]>
Date: Thursday, July 27, 2000 3:04 PM
Subject: RE: detecting if an app is installed


>Try using DmGetNextDatabaseByTypeCreator, using type 'appl' and the creator
>ID of the application you're searching for.  It returns dmErrCantFind if it
>can't find the database.
>Regards,
>Steve
>
>-----Original Message-----
>From: Charles Rezsonya [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, July 27, 2000 1:38 PM
>To: Palm Developer Forum
>Subject: detecting if an app is installed
>
>
>what ways can i detect if an app has been installed on a unit?  or present
>atleast?
>
>i can do this atm with detecting if it has existing DB's or existing pref's
>but how do i detect it if i just want to detect the app itself?
>
>tia
>Charles R
>
>
>--
>For information on using the Palm Developer Forums, or to unsubscribe,
>please see http://www.palmos.com/dev/tech/support/forums/
>
>--
>For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
>


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

-- 
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