Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / Mac Programming / December 2005



Tip: Looking for answers? Try searching our database.

Is GetDiskFragment properly supported in Tiger?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Paul Miller - 05 Dec 2005 20:59 GMT
I have a Mach-O program that uses GetDiskFragment to load Carbon CFM
shared libraries and call functions in them. This all worked perfectly
in Panther and OS X versions before that. But in Tiger, GetDiskFragment
is actually throwing an exception when I attempt to load one of these
libraries. No error return - an exception jump entirely out of the function.

Is GetDiskFragment() supposed to work? Or is there a more appropriate
function I should be using to load old-fashioned Carbon shared libs?
Gregory Weston - 06 Dec 2005 00:58 GMT
> I have a Mach-O program that uses GetDiskFragment to load Carbon CFM
> shared libraries and call functions in them. This all worked perfectly
[quoted text clipped - 4 lines]
> Is GetDiskFragment() supposed to work? Or is there a more appropriate
> function I should be using to load old-fashioned Carbon shared libs?

I see this note:

> On Mac OS X, GetDiskFragment does not include the folder containing the root
> fragment (assuming that it is different from the application fragment) in its
[quoted text clipped - 10 lines]
> Architectures. Available in CarbonLib 1.0 and later when Code Fragment
> Manager 1.0 or later is present. Available in Mac OS X 10.0 and later.

But I wouldn't expect that generates an exception. Make a degenerate
example project that reproduces the failure and report to Apple.

Signature

Goal 2005: Convincing James Hetfield to cover the Strawberry Shortcake
"Are You Berry Berry Happy?" song.

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.