> VoidPtr SysGetTrapAddress(UInt trapNum)
> Err SysSetTrapAddress(UInt trapNum, VoidPtr procP)
>
> so the thing I need is to get the pointer or direct memory pointer,
> VoidPtr procP) of my custom keyboard routine.
> any suggestion !!?
yes..
SysSetTrapAddress(xxx, (VoidPtr)&routineName);
where routineName is your 'routine' :>
az.
--
Aaron Ardiri
Lecturer http://www.hig.se/~ardiri/
University-College i G�vle mailto:[EMAIL PROTECTED]
SE 801 76 G�vle SWEDEN
Tel: +46 26 64 87 38 Fax: +46 26 64 87 88
Mob: +46 70 352 8192 A/H: +46 26 10 16 11