Hanan,
I've been able to isolate the problem to the function AteMessageHandler. This really has nothing to do with the ListBox, as I have commented out the following three lines
InsertListItem (MainPanelHandle,ANEL_LOGGER_LISTBOX, -1, Line, -1);
/* Set last line as visible */
GetNumListItems (MainPanelHandle, PANEL_LOGGER_LISTBOX,&NumOfLines);
SetCtrlIndex (MainPanelHandle, PANEL_LOGGER_LISTBOX, NumOfLines-1);
and still get the crash. Hopefully we can figure out what's crashing....
Azucena