[comp.sys.apple] Toolbox error $1E06

throoph@jacobs.cs.orst.edu (Henry Throop) (02/13/90)

I've been doing a bit of programming with TML Pascal II, and everything
was working until I started getting error $1E06 (resource not found) when
I call StartupTools.  I've checked everything, selected the proper
resource file, etc. but can't seem to get it working.  I don't have vol. 3
of the toolbox ref. manual, but if anyone could tell me what I'm doing 
wrong, I'd appreciate it.  Thanks.

Henry


---
Henry Throop
Internet: throoph@jacobs.cs.orst.edu

tribby@hpindwa.HP.COM (David Tribby) (02/15/90)

throoph@jacobs.cs.orst.edu (Henry Throop) writes...
> I've been doing a bit of programming with TML Pascal II, and everything
> was working until I started getting error $1E06 (resource not found) when
> I call StartupTools.

I've had the same problem with TML Pascal II resources. Seems as if GS/OS
also told the type of resource that was missing. (To translate the hex number
into something more meaningful, I looked up the resource types in the 
declaration of the Resources UNIT...located at the back of the TML Pascal II
manual.)

In one case, I defined a window with at "static text" control, but forgot to
create a line-edit text resource and link it into the window control. So
the program aborted because it could not fine a line-edit text resource # 0.

In another case, I forgot to define an alert string. When I tried to access
it from the program it crashed.

Good luck!

--Dave Tribby
                                   - - - - -
        ARPA: tribby%hpda@hplabs.HP.COM   UUCP: hplabs!hpda!tribby