Welcome to MacBoardz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

GetDiskFragment error -2806

 
   Macintosh computer (Home) -> Programmer Code RSS
Next:  Inserting "tomorrow's" date  
Author Message
bg-greece

External


Since: Dec 14, 2005
Posts: 8



(Msg. 1) Posted: Wed Oct 25, 2006 8:59 am
Post subject: GetDiskFragment error -2806
Archived from groups: comp>sys>mac>programmer>codewarrior, others (more info?)

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.

 >> Stay informed about: GetDiskFragment error -2806 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Win Error - I'm currently making a plugin that will work on Win32, developing with MetroWerks CodeWarrior IDE version 5.5 The problem is that when I try to build the pluginWin target, I get errors like: Error : declaration syntax error (included from: ..

Not sure why this is an error - I have a function which has one argument defined as const unsigned char ** (a list of pointers to Pascal strings) When I pass a pointer to a Str255 or even when I pass an actual unsigned char **, the compiler gives me this error: Error : illegal..

.plc error - I was cleaning up a project today and started getting this error: Will not record build dependency for source file ģInfo.plcē generating file ģInfo.plistē as the IDE could not locate the generated file along an access path. Previously, the project had....

Where is the error? - I have a class containing a simple pointer. I have a vector containing several of the aforementioned classes. Because of the pointer, this class contains its own copy and assignment operators. The constructor for this class sets the initial pointer...

Win compile error with CW 8 - Hi im compiling a small library for windows and im getting 3 undefined symbols. Could anyone point me to the library i need to include in the project? Or maybe what might be going wrong? I have these libs in the project already in this order: ..
   Macintosh computer (Home) -> Programmer Code All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]