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

[coldsync-hackers] Problems with dlp_req.Don't know what do I receive.



Hi.

my ($err,@ret)=&dlp_req(0x1f,{id=>0x20,data=>pack("C",$dbh)});

Does @ret contain raw data of record ?

Why I get message : record NN has same offset as previous one: NNNN   ?

What do I screw up?

Algorithm of my sync conduit:
1.get dbinfo (spc_getdbinfo)
2. open db    (dlp_OpenDB)
3 read next modified record   ($err,@ret)=dlp_req(0x1f,)
4. append new record to pdb
5.  $record->{data}=@ret[0]->data   (of course if @ret[0]->{id}==0x20 )
6 close db
7 write pdb

Thanks for any help.
Wojtek


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.