I have converted a TCL pascal project to a CodeWarrior Pascal project with
the conversion package (version 1.2) found at Pascal central. Everything
went well, and I quickly had my project compiled and linked.
But when I launch it, I run into an exception when TCL tries to initialize
a dialog from a template. Further examination reveales the problem arises
when he calls "NewByName(className)". It tries to initialize a class by
When I further step into the code I arrive at a function
"GetClassIDFromName" in MethTableUtils.p. Here he tries to look the class
up in a table. But he never does anything, because the table is empty.
So stepping through the initialization routine: InitMethTableUtils, and
indeed, it doesn't build a table. But the thing is, I don't understand what
initialized, and it seems to contain NULL.
So in the later called "OrderClassIdsByName;" routine, it does nothing.
Does anybody know what could be the problem? Does anybody had similar
experiences with this conversion package?
Sorry for the rather cryptic message. But users of the conversion package
will probably understand what I mean.