On Thu, 2006-03-02 at 21:33 -0500, Scott W Gifford wrote:
> I'm trying to add an implementation of CeSHCreateShortcut to librapi.
> I've followed the template of the other functions in
> file_management.c, but it's not working.  The marshalled data
> structure seems to be correct and send OK, but when waiting for a
> response, the poll() in synce_socket_wait() returns an error
> indicating that the connection has hung up (pfd.revents == 0x19 ==
> POLLIN | POLLERR | POLLHUP).
> 
> I'm not really sure how to debug this any further.  Does anybody with
> a better knowledge of RAPI have any suggestions?

Make an Ethereal dump of when that command is sent from ActiveSync on
Microsoft Windows to a device and see that it matches what you try to
send.

Especially strings can be sent in different ways.

Suggested link:

  http://synce.sourceforge.net/synce/capture.php


I'll try to help you more if needed!

-- 
Regards,
               -\- David Eriksson -/-

        SynCE - http://synce.sourceforge.net
      ScummVM - http://scummvm.sourceforge.net
     Desquirr - http://desquirr.sourceforge.net



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Synce-devel mailing list
Synce-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synce-devel

Reply via email to