• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Calling a helper tool from Java code
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Calling a helper tool from Java code


  • Subject: Calling a helper tool from Java code
  • From: OL&L Lists <email@hidden>
  • Date: Thu, 29 Apr 2004 17:30:04 -0700

I need to call a setuid privileged helper tool from a Java applet on Mac OS X 10.3.x.

I have the tool written in C and an application-independent calling layer for calling the tool in C. The calling layer has to take a CFDictionaryRef request dictionary which is passed from the calling application to the helper tool via the calling layer.

The problem that I have is that the Java code cannot reference the CFDictionary data type (remember Java code is cross-platform and thus does not have knowledge of any platform's data types).

Is there some way I can call Mac-specific C code from Java code and pass Mac-specific data types? Or is this an impossibility?

Thanks,

Michael Amorose
Orbital Launch & Lift, Inc.
http://www.orbitallaunch.com
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Calling a helper tool from Java code
      • From: Peter Sichel <email@hidden>
  • Prev by Date: Re: Issues with select
  • Next by Date: CFNetwork and 404
  • Previous by thread: Re: Issues with select
  • Next by thread: Re: Calling a helper tool from Java code
  • Index(es):
    • Date
    • Thread