I have a funciton that begins like this:

Err IR_Receive (MemPtr estp)
{
 ExgSocketType *est;

 est = (ExgSocketType *) estp;
...

}

Which is called from PilotMain as follows:
 if (cmd == sysAppLaunchCmdExgReceiveData) {
  IR_Receive(cmdPBP);
  return 0;
 }

Now, if I set POSE or a real device into IR loopback, all works great.

But if I use 2 devices, the ask dialog comes up, I say 'Yes', but
est->length becomes 0 and I just bail there. Doesn't matter if my app is
currently running or not.

Is there something I'm missing here? I thought what I've done above is
correct...






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