From: | David McMinn |
Date: | 2 Sep 99 at 09:07:29 |
Subject: | Re: Enforcer Hits |
Hi Tony
> If I click into a blank area of the Workbench screen, or double-click an
> Icon on the workbench screen I get a couple of Long Reads from zero.
> Even if I've just started my machine from Cold!!
Don't you have the OS3.5 pre-release? :)
> My problem is, why does the "Program$ =" line below give a hit?
> Someone suggested this code to get my current program name, but I get one
> read from zero. Looking at the Task Newtype, I can't see anything which
> looks like a pointer to a program name.
> Program$ = Peek$(Peek.l(FindTask_(0)+$B0)+4) ;<---
Have you checked that the longword at FindTask_(0)+$B0 is not zero, and the
longword at Peek.l(FindTask_(0)+$B0)+4 is not zero?
---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list-help@netsoc.ucd.ie