Elektrine lite

← Feed

@kalleboo@bitbang.social

Post #2770447

2026-03-21 16:50 UTC

Today was the final day and it was all spent battling various things First, converting the After Dark SDK project from a <1996 version of CodeWarrior to 1997. Then figuring out the limitations of CODE resources by trial and error; those “far” compiler checkboxes matter? The last error I still don’t understand. If I call GetResource on the same resource more than once, my memory gets corrupted. No idea why. It shouldn’t, I think? I’m Detaching it, and not even releasing it… solution was globals

Replies (1)

  • @kalleboo@bitbang.social 2026-03-21 19:31

    Just remembered, one more thing I struggled with was just hiding the menu bar. The Apple Dev CDs Snippets folder had a sample of how to hide the menu bar which works fine on MacOS 9 but I could never get it working with on System 7. Which is more contemporary of when the snippet was written. No idea what is going on there. For the longest time I was debugging my own code because surely it wasn’t the Apple Sample Code Snippet that was at fault?? Literally wasted hours.

    Open ##2770448