Sachin -
2003-12-09 11:23:25 UTC
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
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