I am receiving an error in the emulator saying that my program called SysFatalAlert
with the message "Category.c, Line:575, CategoryTruncateName: name in storage heap".
I don't know what this means. I am using POSE 3.5
This is the function that is causing the error. I have indicated the line that
demonstrates the problem. Any ideas? I can continue past the error, and the pop-up
trigger is updated appropriately.
void SetDrugClassTriggerLabel(FormPtr frmP, UInt16 TriggerID) {
if (StateInfo.wCurrDrugClass == 0)
--> CategorySetTriggerLabel(FrmGetObjectPtr(frmP, FrmGetObjectIndex(frmP,
TriggerID)),"PI");
else if (StateInfo.wCurrDrugClass == 1)
CategorySetTriggerLabel(FrmGetObjectPtr(frmP, FrmGetObjectIndex(frmP,
TriggerID)),"NRTI");
else if (StateInfo.wCurrDrugClass == 2)
CategorySetTriggerLabel(FrmGetObjectPtr(frmP, FrmGetObjectIndex(frmP,
TriggerID)),"NNRTI");
}
Sincerely,
Steve Strelzyk
Software Engineer
Lattice, Inc
mailto:[EMAIL PROTECTED]
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/