Re: CoreWLAN CWKeychainCopyPassword() Linker issue
Re: CoreWLAN CWKeychainCopyPassword() Linker issue
- Subject: Re: CoreWLAN CWKeychainCopyPassword() Linker issue
- From: vikas jain <email@hidden>
- Date: Wed, 19 Dec 2012 23:53:30 +0530
Thanks for the help
I will file the bug as per the suggestion .
I have one more question CWKeychainCopyPassword gives me the password only when I'm running my program as user and not as root. when I run the program as root CWKeychainCopyPassword return's state -25308 user interaction not allowed. I run my program as daemon. Why is that this error occur as root has permission to access the keychain.
Vikas
On 19 December 2012 22:48, Quinn "The Eskimo!"
<email@hidden> wrote:
On 19 Dec 2012, at 12:17, vikas jain <
email@hidden> wrote:
> "CWKeychainCopyPassword(__CFData const*, __CFString const**)", referenced from:
It looks like that name contains type information, which indicate that you're trying to call it from C++. If that's the case you can fix the problem by adding:
extern "C" {
...
};
around your import. That way the C++ compiler knows to use C linkage.
btw We should be including this in our headers. Please file complaining that it's missing in this case.
<http://developer.apple.com/bugreporter/>
Share and Enjoy
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
_______________________________________________
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
--
Vikas Jain
_______________________________________________
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