Search results

  1. PB170

    Problem with example in Macintosh Programming Primer

    Hello again, Regarding your first point; will building the menu on the fly replace both the DITL item and the MENU resource, or just the MENU resource? Would you mind showing how this is done in a bit more detail? Also, if I were to just correct the code in the example from the book so that it...
  2. PB170

    Problem with example in Macintosh Programming Primer

    Thank you, that's very, very helpful! I'll go through and digest it all tomorrow. What better way to learn than to correct and improve the learning material! :)  
  3. PB170

    Problem with example in Macintosh Programming Primer

    Interesting! I wasn't aware of that. I feel I have to check it out, just to compare it and see what it looks like. According to freepascal.org the last version of Think Pascal is about as old as Think C 5: "THINK Pascal was a Pascal language compiler for 68K-based Mac computers. […] The last...
  4. PB170

    Problem with example in Macintosh Programming Primer

    Haha :D  Okay, I get your point :D Syntax coloring is also a quite nice invention, I feel :) Although it wouldn't help much on my PB 170 :D
  5. PB170

    Problem with example in Macintosh Programming Primer

    Is there any other book you could recommend over this one? Or is it just a matter of taking in as much as possible, gaining experience and then slowly begin to make your own judgments and decisions? :)
  6. PB170

    Problem with example in Macintosh Programming Primer

    It's pretty much all I know at this point, although I've had some glances at Xcode and Visual Studio to not be entirely stuck in the past :D   Why nasty, by the way? Apart from the apparent lack of everything modern, that is :)  
  7. PB170

    Problem with example in Macintosh Programming Primer

    Thank you both very much for taking your time. I'm learning as I go along here! Yeah, I noticed that too. I assumed it was just to show different ways to accomplish the same thing. Strange – and a bit disappointing… I had the impression that Dave Mark's programming books were respected, and...
  8. PB170

    Problem with example in Macintosh Programming Primer

    Disabling the menu in ResEdit fixed the menu's behavior. Apparently something they missed in the otherwise fairly detailed instructions in the book. (I'm just blindly following instructions here :) ) All of the three time constants correspond to the right item numbers, so that's probably not...
  9. PB170

    Problem with example in Macintosh Programming Primer

    Certainly! Thank you for helping out!
  10. PB170

    Problem with example in Macintosh Programming Primer

    Haha :) Well, it's been going quite well up until now. I hope with some help here, I can make this one work properly too :) Thanks for sharing the story :)
  11. PB170

    Problem with example in Macintosh Programming Primer

    Has anyone here successfully run the Reminder app from Dave Mark's and Cartwright Reed's "Macintosh C Programming Primer, Volume 1, Second edition"? When checking the syntax, Think C complains that "Pointer types do not match" in the two lines below.       GetDItem( dialog, iLaunchCheckBox...
  12. PB170

    Magnetic port door upgrade

    Well, putting context into consideration, that makes perfect sense I guess  :) But no, an old clothes iron, although I'm sure a soldering iron would work just as fine :) The closeups in combination with the lighting make the modification look a bit more messy than it does in real life, by...
  13. PB170

    Macintosh Toolbox programming questions

    Talking about classic mac development; is there any thread here or in some other place where new software is announced or published? If not, perhaps that could be something to think about. Maybe a separate page of some kind. I've come across different types of newly written software while...
  14. PB170

    Macintosh Toolbox programming questions

    Thank you very much for your input! Ah yes, using the window's coordinates makes more sense than tracking the mouse position, of course. I was wondering if maybe there was some toolbox function suitable for this purpose. If not, portRect and portBits is what I feel most comfortable with at this...
  15. PB170

    Macintosh Toolbox programming questions

    Hi everyone A while back I had the idea to begin learning to program, and what better way to do so than with C and the Macintosh Toolbox  :)   It's mainly a hobby at this point, and I just see it as a nice bonus to learn some general programming concepts in the process. I've recently moved on...
  16. PB170

    Magnetic port door upgrade

    As anyone who owns one of the original PowerBooks knows, the I/O port door with its latch/tab and power button behind it isn't the smartest of designs. Since I got my PowerBook 170 back in 2001 I've been alternating between using it without the door (not that pretty), with a door with the tab...
  17. PB170

    Compatible Replacement Screen for PB 180?

    I found this page a long time ago, and it's apparently still online: https://winnilcd.en.made-in-china.com/product/vMbxgcerABhi/China-LCD-Panel-for-Injection-Industrial-Machine-Hlr1014-101125-Hld1014-03-0010-.html Aside from the somewhat peculiar specifications, it looks perfectly identical to...
  18. PB170

    Is anything known about the layout of the PowerBook 170/140 motherboard?

    Success, at last! A couple of weeks ago I decided to go ahead and re-solder all the solder points on both sides the protruding part of the motherboard to see if that would solve the issues I've had. After reassembling the computer, the operation seemed to be successful and everything was back...
  19. PB170

    My powerbook 170

    Very nice! I saw what I guess is your video on YouTube a while ago. I'm curious about what the "Why the brown box" says. I've never seen that one before.
  20. PB170

    Is anything known about the layout of the PowerBook 170/140 motherboard?

    Thank you for your input! I've been so focused on problems with the pins from the power connector and the surrounding vias and traces that I haven't considered problems with the solder joints elsewhere. I will look into that. This past weekend, I had the idea to take voltage measurements on...
Back
Top