They match....

here is my struc

struct DataRecord
{
     char Name[20];
     char Prenom[20];
};


and when I store it I receive a size of 40.

        int vidange = DmWriteCheck( Data, 0 , size );
        DmWrite( HndLock, 0, Data, size );
        offset += size;

Here size is a parameter passed with the size of the record.




Steve Mann wrote:

> 
>> Is there a problem with what Im doing ?
> 
> 
> size does not match the size of the record. Either size is too big, or 
> the size of the record is too small. Trace through your code with the 
> symbolic debugger and find out why they don't match.
> 
> Regards,
> Steve Mann
> 
> 


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

Reply via email to