Article View: comp.sys.mac.programmer.codewarrior
Article #1306Re: Bad problem in MoreFilesExtras?
From: Gordon Tillman
Date: Fri, 08 Dec 2000 22:10
Date: Fri, 08 Dec 2000 22:10
29 lines
2296 bytes
2296 bytes
Hi Meeroh, About this: > It souns to me like you are running your code on Mac OS 8.0 or 8.1, and > you are weak-linking against interface lib, and you are either making > direct calls to PBXGetVolInfoSync, instead of using > CallPBXGetVolInfoSync, or you are somehow causing MoreFiles to #define > CallPBXGetVolInfoSync to PBXGetInfoSync (maybe by #defining > TARGET_API_MAC_CARBON), but then doing something wrong (such as linking > against InterfaceLib after you defined TARGET_API_MAC_CARBON). I see what you are saying; however, in MoreFilesExtra.c it has: #if TARGET_API_MAC_CARBON || !TARGET_RT_MAC_CFM #define CallPBXGetVolInfoSync PBXGetVolInfoSync #endif Would the net result of this be: If building for Carbon OR if NOT building a CFM app, then #define CallPBXGetVolInfoSync PBXGetVolInfoSync So then wouldn't a call to CallPBXGetVolInfoSync get passed off to PBXGetVolInfoSync for pretty much ANY regular PPC application that is non-carbon? --gordon
Technical Details
Message-ID:
<e0dY5.252$ph1.14679@e420r-atl1.usenetserver.com>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!cyclone-sjo1.usenetserver.com!news-out.usenetserver.com!cyclone-pass-sjo.usenetserver.com!cyclone1.usenetserver.com!e420r-atl1.usenetserver.com.POSTED!not-for-mailReferences:
<FtcY5.107$ph1.7187@e420r-atl1.usenetserver.com> <macdev-F694B1.16441508122000@news.mit.edu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10bcce,f8ac17f58a8273dc X-Google-Attributes: gid10bcce,public X-Google-Thread: f635e,f8ac17f58a8273dc X-Google-Attributes: gidf635e,public X-Google-ArrivalTime: 2000-12-08 14:10:23 PST Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!cyclone-sjo1.usenetserver.com!news-out.usenetserver.com!cyclone-pass-sjo.usenetserver.com!cyclone1.usenetserver.com!e420r-atl1.usenetserver.com.POSTED!not-for-mail From: "Gordon Tillman" <got@mindspring.com> Newsgroups: comp.sys.mac.programmer.codewarrior,codewarrior.mac References: <FtcY5.107$ph1.7187@e420r-atl1.usenetserver.com> <macdev-F694B1.16441508122000@news.mit.edu> Subject: Re: Bad problem in MoreFilesExtras? Lines: 32 X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Message-ID: <e0dY5.252$ph1.14679@e420r-atl1.usenetserver.com> X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly X-Complaints-To: abuse@webusenet.com NNTP-Posting-Date: Fri, 08 Dec 2000 17:11:22 EST Organization: WebUseNet Corp http://www.usenetserver.com - Home of the fastest NNTP servers on the Net. Date: Fri, 8 Dec 2000 16:10:16 -0600