Does anyone know exactly how programs are write protected in memory?  Leif has a program (part of chapter 15 in his book) that changes parts of a program object programmatically.  However, if I try to change other parts (such as the state byte) I get the old domain violation error.  I'm running at seclvl 40 if that makes a difference. 
BTW, for those of you who have not bought Leif's eBook I would highly recommend it!!!  I applaud him for doing such a great job on it and finally filling in some of the gaps for many of us.  Thanks Leif.  It's available at   I am in no way affiliated with Leif other than I bought his book and he has been very gracious in answering questions.

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.