It should work now, after yet another false start. I checked in the debugger and the category method gets run, and the bundle shouldn't be loaded at all on Tiger. The only other way was to use PHBGetVolParmSync, but that has a hideous API and I didn't feel like retesting everything (and it's deprecated in Leopard).
It's very annoying that Omni's frameworks won't allow cross development right now. Even if you switch to Leopard we'd still be stuck with the 10.4 SDK, and it's a pain to keep adding CPP defines and categories for 10.5 stuff :(. I'm not sure if that can be fixed. On Jan 11, 2008, at 5:40 PM, Christiaan Hofman wrote: > No, doesn't work. > > Christiaan > > On 12 Jan 2008, at 2:32 AM, [EMAIL PROTECTED] wrote: > >> Revision: 12429 >> http://bibdesk.svn.sourceforge.net/bibdesk/?rev=12429&view=rev >> Author: amaxwell >> Date: 2008-01-11 17:32:07 -0800 (Fri, 11 Jan 2008) >> >> Log Message: >> ----------- >> try to fix linking on tiger >> >> Modified Paths: >> -------------- >> trunk/bibdesk/BibDocument.m >> >> Modified: trunk/bibdesk/BibDocument.m >> =================================================================== >> --- trunk/bibdesk/BibDocument.m 2008-01-12 00:51:01 UTC (rev 12428) >> +++ trunk/bibdesk/BibDocument.m 2008-01-12 01:32:07 UTC (rev 12429) >> @@ -996,7 +996,7 @@ >> err = FSGetCatalogInfo(&originalRef, >> kFSCatInfoVolume, &catalogInfo, NULL, NULL, NULL); >> >> #ifndef MAC_OS_X_VERSION_10_5 || (MAC_OS_X_VERSION_MAX_ALLOWED < >> MAC_OS_X_VERSION_10_5) >> - extern OSStatus FSGetVolumeParms(FSVolumeRefNum >> volume, GetVolParmsInfoBuffer *buffer, ByteCount bufferSize); >> + extern OSStatus FSGetVolumeParms(FSVolumeRefNum >> volume, GetVolParmsInfoBuffer *buffer, ByteCount bufferSize) >> WEAK_IMPORT_ATTRIBUTE; >> #endif >> GetVolParmsInfoBuffer infoBuffer; >> err = FSGetVolumeParms(catalogInfo.volume, &infoBuffer, >> sizeof(GetVolParmsInfoBuffer)); >> >> >> This was sent by the SourceForge.net collaborative development >> platform, the world's largest Open Source development site. > > ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Bibdesk-develop mailing list Bibdesk-develop@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bibdesk-develop