Topic: Is there a bug in TVISION for C++


Author: gel350@gel.ulaval.ca (Donald Payeur)
Date: 12 Feb 93 18:39:48 GMT
Raw View
I'm new to this group although I read it for quite long so please excuse
the probably non standard way that I write to all you.

My problem is: In Turbo Vision, I have a global ListBox that display
various error messages in an sort IDE for the TMS320. The first time I call
newList() everything is OK and my new MsgCollection goes into my ListBox.
The next time I do compile the messages have changed and I would like to update
my TListBox with a call to newList( MsgCollection ). At that time an assert( ... )
fails in the module NEW.CPP at line 167 and the program stops. (I don't actually
have the message under my eyes but it goes something like this:
assert failed (some garbage about the assertion expression) in NEW.CPP line 167.
I tried to maintain two separate MsgCollection and alternately freeAll() one and
use the other so the pointer is no invalidated by its own call to freeAll() but it
does'nt work either.

Can anyone help??
(Excuse my bad English ...)




Author: gel350@gel.ulaval.ca (Donald Payeur)
Date: 12 Feb 93 19:04:32 GMT
Raw View
I'm new to this group although I read it for quite long so please excuse
tho probably non-standard way that I write to all you.

My problem is: In Turbo Vision, I have a global ListBox that display
various error messages in an sort IDE for the TMS320. The first time I call
newList() everything is OK and my new MsgCollection goes into my ListBox.
The next time I do compile the messages have changed and I would like to update
my TListBox with a call to newList( MsgCollection ). At that time an assert( ... )
fails in the module NEW.CPP at line 167 and the program stops. (I don't actually
have the message under my eyes but it goes something like this:
assert failed (some garbage about the assertion expression) in NEW.CPP line 167.
I tried to maintain two separate MsgCollection and alternately freeAll() one and
use the other so the pointer is no invalidated by its own call to freeAll() but it
does'nt work either.

Can anyone help??
(Excuse my bad English ...)

Thanks In advance!
Donald Payeur
Electric Engineering Dept.
Universiti Laval Quibec.