hi all,

I have problem to run the following source code. It stopped at "FldSetTextHandle(fld,customerH)". The error message is

"......A bus error means that the application a memory location that is not in RAM or ROM, nor corresponds to a memory-mapped hardware register"


if (*recordP.custcode)
{
customerH = MemHandleNew (StrLen (recordP.custcode) + StrLen (recordP.custname) + 10);
customerP = MemHandleLock (customerH);
StrCopy(customerP,mark);
StrCat(customerP,recordP.custcode);
StrCat(customerP,"/");
StrCat(customerP,recordP.custname);


MemPtrUnlock (customerP);
FldSetTextHandle (fld, customerH);
FldDrawField(fld);
}


What would be the likely reason?



Many thanks in advance!


rgds,
ailee

_________________________________________________________________
Are you in love? Find a date on MSN Personals http://match.msn.com.my/


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

Reply via email to