Discussion:
Conduit on Linux
(too old to reply)
Sachin -
2003-12-09 11:23:25 UTC
Permalink
Hello Friends,

I am Developing a conduit for my application on Palm. I am developing
conduit on Linux with help of Pilot-link lib.

I had following problem :
I am tring to read modified record by using dlp_ReadNextModifiedRec().
I am getting only one field. So, How to get all fields.

Second, how to find variour fields from a record string....

I had written following things....

if(dlp_OpenDB(sd,0,0x80|0x40,"ToDoDB",&db)<0)
{
puts("Unable to open WorkFlow Database on Palm");
return(1) ;
}
else
{
puts("Connection with palm made\n");
}

dlp_OpenConduit(sd);
while (1)
{
recordid_t id;
int ret;
//lees gemodifieerde records
int len = dlp_ReadNextModifiedRec (sd, db, buffer,
&palmid, &i, 0, &attr, 0);
if (len<0)
{
puts("in break\n") ;
break;
}
puts(buffer) ;
}


So, What should I change ?? Plz Help me.

Thanks,
Sachin
Sachin -
2003-12-10 07:04:09 UTC
Permalink
Hi,

I had found that in Palm database records are stored in binary format.
Because of some not pritable character, It's showing me half record.

Can you tell me, how to pack customised record ? Can you give me
sample code.

Sachin

Loading...