• MacTech Network:
  • Tech Support
  • |
  • MacForge.net
  • |
  • Apple News
  • |
  • Register Domains
  • |
  • SSL Certificates
  • |
  • iPod Deals
  • |
  • Mac Deals
  • |
  • Mac Book Shelf

MAC TECH

  • Home
  • Magazine
    • About MacTech in Print
    • Issue Table of Contents
    • Subscribe
    • Risk Free Sample
    • Back Issues
    • MacTech DVD
  • Archives
    • MacTech Print Archives
    • MacMod
    • MacTutor
    • FrameWorks
    • develop
  • Forums
  • News
    • MacTech News
    • MacTech Blog
    • MacTech Reviews and KoolTools
    • Whitepapers, Screencasts, Videos and Books
    • News Scanner
    • Rumors Scanner
    • Documentation Scanner
    • Submit News or PR
    • MacTech News List
  • Store
  • Apple Expo
    • by Category
    • by Company
    • by Product
  • Job Board
  • Editorial
    • Submit News or PR
    • Writer's Kit
    • Editorial Staff
    • Editorial Calendar
  • Advertising
    • Benefits of MacTech
    • Mechanicals and Submission
    • Dates and Deadlines
    • Submit Apple Expo Entry
  • User
    • Register for Ongoing Raffles
    • Register new user
    • Edit User Settings
    • Logout
  • Contact
    • Customer Service
    • Webmaster Feedback
    • Submit News or PR
    • Suggest an article
  • Connect Tools
    • MacTech Live Podcast
    • RSS Feeds
    • Twitter

ADVERTISEMENT
Volume Number:11
Issue Number:4
Column Tag:Dialog Box

Dialog Box

By Scott T Boyd, Editor

Jasik Has A Better Bus Error

Steve Jasik wrote, in light of the attention we’ve been giving to the need to use strong debugging tools, to remind us that his Debugger has been putting a “garbage” value in location zero since its inception, and you get the message if you trip on it.

He also wanted to remind us that it has a version of Trap Discipline similar to the one implemented in TMON, but it also does the Color QD Traps. His version of Discipline will catch double disposes, etc. He says it’s supported (and documented?).

- Ed stb

Stenger Goes For Two Month’s In A Row

I found a couple of cases where Bob Boonstra’s solution to the Rubik’s Cube challenge (MacTech, February 1995, pp. 49 ff.) goes into a loop.

(1) If the cube is already solved, the code correctly detects that no moves are necessary, but the playback loop in SolveRubiksCube doesn’t handle this empty case correctly (the loop is coded to “execute at least once”).

(2) The illegally-colored cube with solid faces 0, 3, 4, 2, 1, 5 is not caught by LegalCube, and then generates no moves (I don’t know why this is). It then fails as in item (1).

The code works correctly on all the “normal” cases I tried, so it meets the spirit of the Challenge and should still be the winner.

- Allen Stenger, 70401.1171@compuserve.com

Prograph - Where’s It Been Hiding?

I read Kurt Schmucker’s article on Prograph CPX, and was amazed that I had never heard of this product. I am a programmer for a consulting company here in Milwaukee. After reading that article, I went out and bought Prograph CPX immediately. I want to see more articles about Prograph - I think it’s a product that has a great future.

- minton brooks, MBAssoc@aol.com

Re: A Quick Trip Into the Depth

In his article in the February issue, “A Quick Trip Into the Depths”, Steve Jasik writes, “The crux of the problem was that, despite what Inside Macintosh or today’s equivalent of it says, the Resource Manager doesn’t always return a non-zero value of ResErr when it doesn’t find the requested resource.”

This assertion is incorrect. Inside Macintosh does specifically warn you about this problem. Inside Macintosh : More Macintosh Toolbox on page I-51 in describing ResError function has this to say under the caption IMPORTANT, “In certain cases, the ResError function returns noErr even though a Resource Manager routine was unable to perform the requested operation. See the individual routine descriptions for details about the circumstances under which this happens”.

Then if we turn to page I-73 of the same volume, we can read that, “If you call GetResource with a resource type that can’t be found in any of the resource maps of the open resource forks, the function returns NIL, but ResError returns the result code noErr. You should always check that the value of the returned handle is not NIL.”

- Vladimir Potap'yev, VolodyaP@aol.com

We Forgot To Say Thanks!

Chris De Salvo contributed Control Strip Tester - an application shell to help you test out control strips - to go along with Mike Blackwell’s “Writing Control Strip Modules” article in our December issue. We didn’t have time to get a mention of it into the issue, but we did manage to get it onto our source disk and our online sites. You can find it at:

ftp://ftp.netcom.com/pub/xp/xplain/Source/10.12/ControlStripExtras.sit.bin

and our other online sites, and you can e-mail him at phixus@netcom.com.

Thanks, Chris!

- Ed stb

 
MacTech Only Search:
Community Search:

 
 
 

 
 
 
 
 
  • SPREAD THE WORD:
  • Slashdot
  • Digg
  • Del.icio.us
  • Reddit
  • Newsvine
  • Generate a short URL for this page:



MacTech Magazine. www.mactech.com
Toll Free 877-MACTECH, Outside US/Canada: 805-494-9797
MacTech is a registered trademark of Xplain Corporation. Xplain, "The journal of Apple technology", Apple Expo, Explain It, MacDev, MacDev-1, THINK Reference, NetProfessional, Apple Expo, MacTech Central, MacTech Domains, MacNews, MacForge, and the MacTutorMan are trademarks or service marks of Xplain Corporation. Sprocket is a registered trademark of eSprocket Corporation. Other trademarks and copyrights appearing in this printing or software remain the property of their respective holders.
All contents are Copyright 1984-2010 by Xplain Corporation. All rights reserved. Theme designed by Icreon.
 
Nov. 20: Take Control of Syncing Data in Sow Leopard' released
Nov. 19: Cocktail 4.5 (Leopard Edition) released
Nov. 19: macProVideo offers new Cubase tutorials
Nov. 18: S Stardom anounces Safe Capsule, a companion piece for Apple's
Nov. 17: Ableton releases Max for Live
Nov. 17: Ableton releases Max for Live
Nov. 17: Ableton releases Max for Live
Nov. 17: Ableton releases Max for Live
Nov. 17: Ableton releases Max for Live
Nov. 17: Ableton releases Max for Live
Nov. 17: Ableton releases Max for Live
Nov. 17: Ableton releases Max for Live
Nov. 17: Ableton releases Max for Live
Nov. 17: Ableton releases Max for Live