🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac.programmer.help
Article #43

Porting PP App to Carbon, can't launch >>CarbonLib<< not found

#43
From: Stephen Kay
Date: Fri, 07 Apr 2006 05:41
31 lines
2447 bytes
I am porting a PowerPlant app to Carbon, I am now at the point where I am
trying to link against CarbonLib, on OS 9.2.2.

The app links, but when it launches, it immediately quits with an error of
"Could not launch "app" because the library ">>CarbonLib<<" was not found.

Of course, I have CarbonLib 1.6.1 installed in my Extensions.

I have searched the archives:

I've seen references to needing a SIZE resource with ID -1.
- I have that.

I also have all the bits set for AcceptSuspendResumeEvents, canBackground,
doesActivateonFGSwitch,is32bitCompatible,isHighLevelEventAware,
localAndRemoteHLEvents.

I saw mention of not enough memory allocated to the app. I have plenty.

Someone else said this might be caused by also having InterfaceLib in the
project. Well, I can't remove InterfaceLib, or I get a zillion other link
errors at this point in the port. However, that is the only other lib still
being included.

Any ideas?

Thanks,
Stephen Kay
Karma-Lab   sk@karma-lab.NOSPAM.com
                        ^^^^^^^
Technical Details
Message-ID: <C05B7308.5C633%sk@karma-lab.nospam.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!elnk-atl-nf1!elnk-atl-nf2!newsfeed.earthlink.net!stamper.news.atl.earthlink.net!newsread2.news.atl.earthlink.net.POSTED!029d7ba7!not-for-mail
References: <C05993CC.5C2EC%sk@karma-lab.nospam.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 101ec9,40d4aed6fca1bb40
X-Google-Thread: f7f77,40d4aed6fca1bb40
X-Google-Thread: f635e,40d4aed6fca1bb40
X-Google-Thread: 10bcce,40d4aed6fca1bb40
X-Google-Attributes: gid101ec9,gidf7f77,gidf635e,gid10bcce,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!elnk-atl-nf1!elnk-atl-nf2!newsfeed.earthlink.net!stamper.news.atl.earthlink.net!newsread2.news.atl.earthlink.net.POSTED!029d7ba7!not-for-mail
User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.0.6
Subject: Porting PP App to Carbon, can't launch >>CarbonLib<< not found
From: Stephen Kay <sk@karma-lab.nospam.com>
Newsgroups: comp.sys.mac.programmer.help,comp.sys.mac.oop.powerplant,comp.sys.mac.programmer.codewarrior,codewarrior.mac
Message-ID: <C05B7308.5C633%sk@karma-lab.nospam.com>
References: <C05993CC.5C2EC%sk@karma-lab.nospam.com>
Mime-version: 1.0
Content-type: text/plain; charset="US-ASCII"
Content-transfer-encoding: 7bit
Lines: 33
Date: Fri, 07 Apr 2006 05:41:42 GMT
NNTP-Posting-Host: 68.164.201.191
X-Complaints-To: abuse@earthlink.net
X-Trace: newsread2.news.atl.earthlink.net 1144388502 68.164.201.191 (Thu, 06 Apr 2006 22:41:42 PDT)
NNTP-Posting-Date: Thu, 06 Apr 2006 22:41:42 PDT
Organization: EarthLink Inc. -- http://www.EarthLink.net