Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: JNI and Carbon with Java1.4.2



Tom,
For HFS-specific information, I highly recommend using Greg Guerin's
MacBinary Toolkit which can be found at:
http://www.amug.org/~glguerin/sw/index.html#macbinary.  This can be used
in OS9 and OS X.  Greg implements the file access routines using Carbon,
but that does not present a problem since it is mainly Carbon and Cocoa
event loops that are incompatible.  I have used the MacBinary Toolkit on
OS 9 and OS X (1.3.1+ and 1.4.2+) and have been very pleased with it.
Plus, if you are used to doing the Carbon programming, this interface is
MUCH simpler.  No word yet from Greg on Universal Binary support, but I
am sure that would not be too terribly difficult to handle yourself if
he can not get to it.

Regards,
Michael

Fettig Thomas wrote:

Hello list members,

against Apple's recommendation not to the use of the technologies JNI and Carbon together (since the creation of Java 1.4.1), i *have to* bridge the gap between Macos 9/MRJ2.2.x and Macos 10.3/10.4 on the basis of compatible files. So i have to deal with resource fork, fileinfo-Bits, comments etc.. To make matters worse, Quark4 is used in the classic environment and we have a mixture of classic and modern photoshop variants (6.0/6.5, CS etc). So i have to provide files in the most compatible manner, to make the classic applications happy, no matter what Macos they are running on.

Does JNI still work with Carbon on this basic level (FileManager, Resource Manager). Btw i have to read and write resource Data. Or should i forget it (and not go to work the next few days .. ;-)


regards,

    Tom
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Java-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden
References: 
 >JNI and Carbon with Java1.4.2 (From: Fettig Thomas <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.