Search results

  1. pretzelFTW

    Any interest in Palm Pilots?

    Yes! I loved my Palm Pilot. Got me through late high school and university. I think I went through three of them. (They took a lot of punishment. One got crushed by textbooks, another by a folding lecture hall seat). Would love to pick one up and get back into it though!
  2. pretzelFTW

    XServe without a rack?

    While you don't need a rack, you can get one for not that much money. I have something like this in my basement. Should fit an Xserve I think. Totally unnecessary but it does boost my geek cred when people visit ;)
  3. pretzelFTW

    Favorite commercially available coffee?

    I have had a Blue Bottle subscription for years. I love it but it's pricey and eco-unfriendly (since it's by mail). I wish I had a local roast that I liked as much. There's something about the aroma or flavor (or maybe acidity?) that I just can't find elsewhere. Some day maybe someone who knows...
  4. pretzelFTW

    Hot Air Nozzles

    Is this for a hot air rework station? If so, which model do you have?
  5. pretzelFTW

    ThinkC [Study Group 0] Getting your Development Environment Setup & Hello, World!

    Yeah, a lot of us are still here. I think it makes the most sense to post in the thread that corresponds to the chapters you're working on.
  6. pretzelFTW

    ThinkC [Study Group 0] Getting your Development Environment Setup & Hello, World!

    There's no menu bar in this simple app. It should exit on a mouse button click. //while ( !Button() ); You have the main event loop commented out. Re-enable that and it should start working.
  7. pretzelFTW

    ThinkC [Study Group 2] - Events & Menu Management

    vintageapple.org has digital copies
  8. pretzelFTW

    ThinkC [Study Group 2] - Events & Menu Management

    Ah, now I get it. Yeah "Accept Remote HighLevel Events" needed to be unchecked. That was explained in the book (p152) and I'd totally forgotten that you could click the little icon beside SIZE for a menu. That's what happens when you take a three month break in the middle of a chapter :p...
  9. pretzelFTW

    ThinkC [Study Group 2] - Events & Menu Management

    Hmm… not seeing anything quite like that. I tried to inspect the value of the window pointer in the debugger. I'm always seeing the correct value, but I'm also never seeing the scrolling issue while running that way, so most likely the debugger is interfering somehow. I'm going to poke at this...
  10. pretzelFTW

    ThinkC [Study Group 2] - Events & Menu Management

    I guess because DrawString() doesn't take a port argument and it's just using the port of the last thing I was drawing to – which was the same window.
  11. pretzelFTW

    ThinkC [Study Group 2] - Events & Menu Management

    Some interesting behaviour in the EventTracker code. It generally works, but I'm noticing that the window scrolling doesn't happen for the suspend and resume events, so when I draw a string in those cases, it's drawing over the previous event. Looking at the DrawEventString function: void...
  12. pretzelFTW

    ThinkC [Study Group 2] - Events & Menu Management

    Anyone still around? With the holidays and a few other projects, I've been away for awhile but I'm back now and would like to finish this.
  13. pretzelFTW

    You on Mastodon?

    Same here. Killing off 3rd party clients was the last straw for me. Very happy on Mastodon. https://bitbang.social/@pretzelftw
  14. pretzelFTW

    ThinkC [Study Group 2] - Events & Menu Management

    That worked. Thank you! I guess that detail was missing from the book.
  15. pretzelFTW

    ThinkC [Study Group 2] - Events & Menu Management

    With EventTracker, I'm never seeing the keyUp event. I've tried on both 6.0.8 and 7.1. Is that working for anyone else?
  16. pretzelFTW

    ThinkC [Study Group 2] - Events & Menu Management

    In the EventTracker code, the EventInit() function is confusing me. My understanding is that we are using the Gestalt function to check for an operating system feature (Apple Events). err = Gestalt(gestaltAppleEventsAttr, &feature); I'm running 6.0.8, and I'm seeing an error returned from...
  17. pretzelFTW

    ThinkC [Study Group 1] Drawing on the Macintosh

    My second correction wasn't quite accurate. Where you have the second instance of this line: gLines[i].bottom += gDeltaBottom; …it should be: gLines[i].right += gDeltaRight;
  18. pretzelFTW

    ThinkC [Study Group 1] Drawing on the Macintosh

    @jenna32bit Check your RecalcLine() implementation. I had some errors there too and it gave odd results. gLines[i].left += gDeltaBottom; …should be gLines[i].left += gDeltaLeft; and gLines[i].right += gDeltaBottom; …should be gLines[i].right += gDeltaRight;
  19. pretzelFTW

    ThinkC [Study Group 1] Drawing on the Macintosh

    Yep! You called it. That's what it was. I unchecked that box and now it works. Thanks! I'm rather surprised that's the default for new projects. I imagine there were plenty of Macintosh Plus machines still in use in the early nineties.
  20. pretzelFTW

    ThinkC [Study Group 1] Drawing on the Macintosh

    Well, this is strange. Page 92, at the end of the Randomize function: return ( (randomNumber * range) / kRandomUpperLimit ); This line crashes with an "Illegal instruction" error for me. Apparently you can't multiply a long and a short? This crashes also: main() { long x = 3; short y =...