Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Mac > Code warrior for Mac > GetDiskFragment...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 2173 of 2225
Post > Topic >>

GetDiskFragment error -2806

by "bg-greece" <byron@[EMAIL PROTECTED] > Oct 25, 2006 at 02:52 PM

I have developed a JNI Mach-O library in Tiger, under CodeWarrior 8.3, that
opens 
dynamically a native carbonised library using FSMakeFSSpec and
GetDiskFragment. In order 
to test this I have created a small java program that tests the functions
in the 
carbonised libary. Although this worked OK, when the JNI lib is called
through a big Java 
client program I get an error -2806 from GetDiskFragment. Anyone knows the
cause (and 
possibly a solution) for this error, the Apple documentation's "A
fragment's container 
format is unknown" is not very explanatory for me:)

The call is:
err = GetDiskFragment(&fss, 0, kCFragGoesToEOF, fss.name,
kPrivateCFragCopy, &implConn, 
(Ptr*)&CFMFuncPtrIS, junkMessage);

Thx.
 




 1 Posts in Topic:
GetDiskFragment error -2806
"bg-greece" <  2006-10-25 14:52:42 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Jul 9 0:51:45 CDT 2008.