>  Is there a way to figure out if the recipent is a windows PC, or another
Palm
> PDA from palm API calls?  I need to do this, or I have to have 2 different
menu
> items/buttons for user to choose.

There is no way to do this using the Exchange Manager.

However, you could use the IR Library to do a discover first. Then you can
look at the hint bits (part of the XID), which indicate whether you're
talking to a PDA (IR_HINT_PDA). You can also check if the device supports
OBEX (IR_HINT_OBEX). Once you've done this, you can close the IR Library and
use the Exchange Manager to send the appropriate object based on the hint
bits. It'll do another discovery, but that should be pretty quick. I doubt
you'll notice a significant delay.

You might also want to try using IAS queries, although this would take a bit
longer.

What are you trying to do? I'm guessing that you want to send your
self-expanding archive as a Palm app (prc) if you're talking to another
Palm, but as a Windows app (exe) if you're talking to a PC. What about UNIX
and Mac?
-
Danny

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