could it be that you forgot to allocate some space for your char pointer? try this: Char *TEST = MemPtrNew(50); // dont forget to free it later or Char TEST[50];
markus dresch (www.palmside.com) "R�gis Daniel de Oliveira" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:110858@palm-dev-forum... > > Hy All. > > I have a function that receives a string and should copy this string to > another one. It compiles well, but cause a memory error (BUS ERROR) when the > app run. I think that the error is simple and is something about C/C++ > sintax too. Can anybody help-me, please!!! > > Thanks all! > > The value *flpNumberToConvert > > > void doubleToStr (Char *flpNumberToConvert) > { > Char *TEST; > StrCopy(TEST,flpNumberToConvert); //<<<<ERROR > ... > } -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
