Calling a helper tool from Java code
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.