03-09-2005, 02:18 AM
Always use Callocate() as Allocate() won't clear the contents, so if you do bar->foo = "" (foo being a dyn string), if the contens of foo (the descriptor) aren't 0'ed, the rtlib will try to free an invalid pointer.
ew FreeBASIC forums: http://www.freebasic.net/forum/index.php