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

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

Reply via email to