Article # 337, added by Geoworks, historical record
| first |
previous |
index |
next |
last |
Adding text to a GenText using MSG_VIS_TEXT_APPEND_PTR.
Q. I have an application that writes lots of text to a GenText object by calling MSG_VIS_TEXT_APPEND_PTR. After a while the system crashes and gives the following message: WARNING: FAULTING_IN_VM_BLOCKS Death due to TS_LOCK_TEXT_PTR_INVALID_RETURN_VALUE A. Your text object has gotten larger than 20K. This is because the system only checks to see if a text object has gotten too large when the user is entering text. You should either use a VisLargeText object or monitor the amount of data that you are adding to the GenText and begin removing old text as the GenText fills up.