I had the same problem. I believe you need to create a helper command line tool and launch it with root privileges though this is not recommended due to security issues.
You may chcek if the API version is available in run time, load it dynamically and use the helper on 10.4 only.
HTH
Pavel On 20 Nov 2008, at 12:00, WirelessG Developer < email@hidden> wrote:
I am developing a Connection Manager for my company.
I have so far been able to manage by developing in OS 10.5 but have now run into a snag. It needs to run on 10.4 as well.
I used the SCPreferencesCreateWithAuthorization function to gain the privileged rights to create a new netwrok set on 10.5, but it is not available on 10.4.
I have looked through all the sample code and MoreSC example code as well as AuthSample ("and more") and could not find a way to do this.
Any advice will be appreciated.
Thanks
Carel Bekker
Disclaimer:
This message may contain confidential information and is intended only for the named addressee/s. If you are not a named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received
this e-mail in error and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secured or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late, be incomplete, or contain viruses. The sender therefore
does not accept liability for any errors or omissions in the content of this message, which may arise as a result of e-mail transmission.
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
|