M Wasson wrote:

Are you trying to read a Palm pdb file using Windows CE functions?  If so, I
don't think that will work.  What is a "satabase"?
There are Pocket PC development newsgroups hosted on the news server:
msnews.microsoft.com


"Alexandre Luz Barreto" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]


Hi, sorry for asking this here
but i don�t know any pocketpc forums...so mabe someone can help me here

i�m converting a Palm app to PocketPC 2003

this program have a server side that must be the same for palm or pocket
so i made a class for pdb manipulation on the pocketpc.
but i need to use Object store too.
the prob is that i�m trying to open and read a satabase in the pocketpc
with no sucsses

i�m trying the following

DbParam = CeOpenDatabaseEx( 0,&DbOIDNovo,TEXT("endereco"),0,0,
               NULL );
       if(DbParam == INVALID_HANDLE_VALUE){
           Error = GetLastError();
           _itoa(Error,SError,10);
           MsgBox(SError);
           return;
       }
       CeReadRecordPropsEx ( DbParam,0,NumProps,NULL,
                   Buffer,BufferSize,NULL );

but i get invalid_param;

how can i open and read the records form a dataobject?
i need this so i can make a pdb file with the data in my object store
and then send the pdb file to the server

Thanx a lot








i already did a class for pdb manipulation its working
m prob is wih de daa objects that i�m having problem to read
using ce functions its not a palm problem

and satabase was a typo hehe sorry was database
i ll try this newsgroup
thanx a lot

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to