On Mon, 18 Apr 2005, Dr. Vesselin Bontchev wrote:

What will happen if an application does not issue any ExgRegisterData or ExgRegisterDatatype calls to register to receive a particular database type - but another application uses ExgPut/ExgSend to send data to the device on which the first application resides *and* puts the creatorID of that application in the "target" field of the ExgSocketType structure it passes to ExgBut/ExgSend? Will the target application receive the data and the sysAppLaunchCmdExgReceiveData launch code?

Yes. I believe that you only need to use the register functions if you're expecting something that you may not get a specific creator ID for.. if it's got a specific MIME type or file extension, but not creator ID, it'll route the incoming data to whatever is registered to receive it. If you're only sending data to another instance of your app, you have the creator ID you're sending to and the receiver doesn't need to register for anything.


--
-----------------------------------------------------------------------
Brian Smith //  avalon73 at caerleon dot us  // http://www.caerleon.us/
Software Developer  //  Gamer  //   Webmaster  //  System Administrator
Never be afraid to try something new.  Remember... amateurs built the
 ark, professionals built the Titanic.

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

Reply via email to