Porting a Mac OS 9 to Carbon Mac OS X shared library + Java Native Interface

mac

    Next

  • 1. LtabsControl Need Help
    I am fairly new to PowerplantX. I want to implement LtabsControl using constructor , I found the posted message and did the same but it does not working at all. Can anyone suggest me where I was wrong ? Or send me ONE SAMPLE EXAMPLE PROJECT which shows the switching between mutiple tabs using powerplantX classes. Drag on your tabs control in Constructor. Create a tab# resource with Resourcerer or ResEdit (if you're using ResEdit, you'll need to get ResEdit Appearance TMPLs, they're available on InfoMac). Set the tab# resource id and other properties of the tabs control in Constructor. If the id was correct and the tab# is in your ppop file the tab titles should show up. The easiest way to have the panels on the inside is to add an LMultiPanelView. If you assign a value message to the tabs control and then assign that message as the multipanel view's switch message and tell it to listen to its superview then you can have it switch panels without writing a line of code. For each panels that goes inside the tabs control, create a layout (LView), and then add that panel to the LMultiPanelView. Sincerely,
  • 2. External Hard Drive (USB IBM Travelstar)
    I have Macosx 10.3 PowerPcG3 machine. I need to connect external DISK TO it. I have IBM Travelstar USB. But my machine is not recongnizing the external device. What driver shoulD I use for this.? Where i WILL GET THOSE DRIVERS. -Hemant
  • 3. Conversion to BSD Sockets?
    Hello, Can anyone tell me what would be involved in migrating from LOpenTptTCPEndpoint to BSD sockets in a MachO application? Would it be as simple as creating a new LTCPEndpoint subclass for BSD? I'm not familiar with BSD sockets yet, so any hints, sample code, or pointers to appropriate documentation would be very helpful. Thanks, Kurt

Porting a Mac OS 9 to Carbon Mac OS X shared library + Java Native Interface

Postby bg-greece » Fri, 23 Sep 2005 18:08:45 GMT

I have ported a Mac OS 9 shared library to Mac OS X using Codewarrior 8 and
the Carbon methodology. The library uses PowerPlant to display and handle a
dialog box that communicates with the caller application. What are the
prerequisites and steps for wrapping this library under Java Native
Interface since the caller application is
written in Java and Java itself cannot call methods directly from a native
shared library? Are there any previous attempts, expreiences? Any obstacles?

Byron




Similar Threads:

1.Porting a Mac OS 9 to Carbon Mac OS X shared library + Java Native Interface

I have ported a Mac OS 9 shared library to Mac OS X using Codewarrior 8 and
the Carbon methodology. What are the prerequisites and steps for wrapping
this library under Java Native Interface since the caller application is
written in Java and Java itself cannot call methods directly from a native
shared library? Are there any previous attempts, expreiences? Any obstacles?

Byron


2.iphone OS != Full Mac OS X

On Jun 27, 3:02 pm, Oxford < XXXX@XXXXX.COM > wrote:
> yes, and Java / Google Earth works quite well on OSX, the same OS inside
> the iPhone... hum... could there be a connection???????

I missed this but this is quite hilarious...

DUDE, you DO know that the OS in the iphone is NOT the full OS X,
right?? Right??? RIGHT????

You weren't totally fooled by the Apple market droids, right?

It's like the stripped down version of Windows in Windows Mobile, or
the stripped down Linux in Linux Mobiles....





3.Metrowerks Java Application Will Not Run The Compiled .java Files (Mac OS 9)

CodeWarrior IDE 3.2
PowerBook G3 - Mac OS 9.1

I'm a Java programming novice, and I'm using this old pre-J2SE version
of Java together with this old version of CodeWarrior. My programs are
simple. So, it's all I need for now. The problem I have is the
inability to run compiled Java code. The problem also occurs with the
default place-holding class TrivialApplication.java.

When I try to run the compiled .java files, the Metrowerks Java
application launches. The application window appears with the correct
class name (in which the main method exists) already filled in the
"Class Name" textbox. I leave the "Arguments" textbox blank. I also
check for the correct working directory. If the directory is incorrect,
I use the "Select Dir" button. Also, when I press the "Add
Classpaths..." button, I see the classes.zip file and the working
directory containing the class I'm trying to run. When I press the
"Run..." button, nothing happens. I expected to see a Java console
window open for this particular program (System.out.prinln()), but
nothing happens.

Let me go back to the CodeWarrior IDE 3.2 side of the story. From the
Edit menu item, "Java Application Settings...", I have the following
setup.

For Target Settings,
Target Name:  Java Application
Linker:  Java Linker
Pre-Linker:  None
Post-Linker:  None

For Java Target,
Target Type:  Application
Main Class:  The name of the class that will be compiled
Parameters:  I left this blank
Working Directory:  The the path of the class that will be compiled
Virtual:  Apple MRJ (2.2.4)

What am I doing incorrectly that prevents the compiled file from
running? Are there setting corrections/additions I need to make? Please
help. Thanks in advance.

4.Shared library Python on Mac OS X 64-bit

I'm trying to build a 64-bit version of Python 2.5.1 on Mac OS X 10.5.6 64-bit
(Intel processor).  The configure line I'm using is:

./configure --enable-shared --disable-framework --disable-toolbox-glue
OPT="-fast -arch x86_64 -Wall -Wstrict-prototypes -fno-common -fPIC"
LDFLAGS="-arch x86_64"

The system builds, but it absolutely refuses to build the shared libraries.  I
 keep getting the 'libpython2.5.a' file, and not the needed *.dylib files.
Anybody know how to get this thing to produce shared and not static libraries?
  A link to examples or documentation that shows the correct configure
parameters?  I would have thought "--enable-shared" would do it, but I guess
I'm wrong.

5.US-NY: New York-UNIX / Solaris Systems Administrator, MAC OS X, JAVA, Oracle

6. OS X 10.3.9 breaks java on some macs (segfault)

7. Mac OS X for Java Development?

8. text rendering changes after last mac os x java update



Return to mac

 

Who is online

Users browsing this forum: No registered users and 88 guest