mattt@cs.umu.se (Tommy T|rnqvist) (04/11/91)
HELP! I have written a small init that worked perfectly until i added the following: TYPE AddrPtr = ^LongInt; AddrHandle = ^AddrPtr; VAR theAddr: Handle; BEGIN theAddr := Get1Resource('ADDR',-4048); IF (theAddr <> NIL) THEN BEGIN AddrHandle(theAddr)^^ := where; ChangedResource(theAddr); END; END; Now the INIT has to be loaded first, before all other INITs, or my mac crashes. I think that the crash happens when ChangeResource is called. Why?????? Even when my INIT is loaded first there is some trouble. The trouble now is this: when i try to activate ON CUE my mac starts meditating again. (SYSTEM ERROR ID=2) I use THINK Pascal 3.0. If you have an answer do email me (since i don't read this forum very often).