2007-07-05
04:53 AM
- last edited on
2023-08-07
10:26 AM
by
Doreena Deng
2007-07-08 01:33 AM
Hemmachart wrote:'uStrValue' is a pointer in 'API_ChangeParamType'. You can't simply copy characters to the address it points to without allocating space for the string. You are probably writing to a spurious/random/null location, which explains the crash. Try setting 'uStrValue' to a pointer to the string already allocated in 'tmpUStr'.
GS::ucscpy (chgParam.uStrValue, tmpUStr.ToUStr());
My ArchiCAD will be crash !
2007-07-09 04:59 AM