d_volaric@mail.uwa.oz (09/11/88)
I'm in the process of fixing up a mac desk-accessory and I'm having a few problems with my resources. I'm using Lightspeed C V3.0 on a unmodified Mac+ with a Hyperdrive FX 20 and have used both systems 5 (i.e. System 4.3 and Finder 6.0) and system 6 (i.e. System 6.0 and Finder 6.1). First I thought is was system 6 (or system 666 as I prefer to call it), but the problem persisted in system 5. The problem is, when I compile and run my DA (under the DA shell provided with LSC) the owned resources, mainly ICONs and PICTs get renumbered in a strange way. I'm well aware of the concept of renumbering owned resources, when there's a driver ID clash when the DA is being moved into a DA Mover file or the system file, but this is bizzare: (1) The DA is going nowhere. It stays alone, in its own file. It is not moved by anything so there is no ID clash and no reason to renumber resources. (2) Only some of the resources are renumbered, usually between 10% and 50% (3) The resources that get renumbered, do so to a strange number, e.g. from -15999 (correct, owner ID = 12, subID = 1) get renumbered to -16170. As I mentioned before, I suspected system 6, but system 5 followed suit, I suspected LSC 3.0 and called tech support in the U.S., to no avail. The problem appeared soon (but not immideately) after I started using 3.0 (from 2.15) and after I tried a piece of code (that comes with the LSC 3.0 disks) that allows you to turn your DA into an APPL so you can use the debugger. I've moved all the resource to another file, which didn't help, used Rezdet (the MPW resource detective) which assured me nothing was wrong. This problem has been lingering on. I am considering something drastic (reverting to system 1.0 / rip out the roms and crush them to a powder / sending my LSC 3.0 compiler back to Symantec with a letter bomb / etc.) Thanks in advance to anyone who can provide any help. Darko Volaric (09) 383 2077 p/o Box 45, Mosman Park, W.A. 6012.