[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [coldsync-hackers] Setting time



coldsync-hackers@oldach.net (Helge Oldach) writes:

> Done that, but failed miserably. The straightforward way:
> 
> 	conduit sync {
> 		path: "/home/hmo/palm/SetSysDateTime.pl";
> 		type: psys/sprf;
> 	}
> 
> with the script simply being
> 
> 	#!/usr/bin/perl
> 
> 	use strict;
> 	use ColdSync;
> 	use ColdSync::SPC;
> ...
> 
> The script fails because there are no handlers defined for creator
> "psys" and type "sprf". The error ist raised via the virtual constructor

Add "use Palm::Raw;".  E.g.

    #!/usr/bin/perl

    # A NULL conduit for coldsync

    use strict;
    use ColdSync;
    use Palm::Raw;

    StartConduit("sync");
    EndConduit;
This message was sent through the coldsync-hackers mailing list.  To remove
yourself from this mailing list, send a message to majordomo@thedotin.net
with the words "unsubscribe coldsync-hackers" in the message body.  For more
information on Coldsync, send mail to coldsync-hackers-owner@thedotin.net.