Hi All,
We are developing an application to set proxies. We are using System
Preferences APIs for it. And here is a very surprising problem. If we
compile application (we have tried application and tool targets fo
carbon) on Mac 10.2, it is working very fine on Mac OS 10.2 and 10.3.
but if we compile the same application on MAc OS 10.3 and try to run it
on Mac OS 10.2, here the following constants are not being resolved.
they are showing "null" value.
kSCCompNetwork
kSCCompService
kSCEntNetProxies
kSCPrefCurrentSet
these are defined in
SecurityConfiguration.framwork/version/A/Headers/SCSchemaDefinitions.h
file.
We are using only the above constants. But no constant from the file is
being resolved at all.
Have anybody some idea about it, How to reslove this issue..?
Thanks in advance,
Bawa Singh
Ben Artin - 08 Dec 2005 22:13 GMT
> We are developing an application to set proxies. We are using System
> Preferences APIs for it. And here is a very surprising problem. If we
[quoted text clipped - 8 lines]
>
> Have anybody some idea about it, How to reslove this issue..?
Depending on whether you are using CodeWarrior or Xcode, the mechanism for
compiling 10.2-compatible code on 10.3 is different. Tell us which tools you are
using.
Ben

Signature
If this message helped you, consider buying an item
from my wish list: <http://artins.org/ben/wishlist>
I changed my name: <http://periodic-kingdom.org/People/NameChange.php>
Bawa Singh - 10 Dec 2005 08:13 GMT
Hi Ben,
Thanks for reply
We have tried it with XCode as well as with Project Builder.
with both we are getting same behaviour..
Bawa Singh
Ben Artin - 10 Dec 2005 11:25 GMT
> We have tried it with XCode as well as with Project Builder.
> with both we are getting same behaviour..
In Xcode you should open your target inspector and change target OS to Mac OS X
10.2 instead of the compiler default
hth
Ben

Signature
If this message helped you, consider buying an item
from my wish list: <http://artins.org/ben/wishlist>
I changed my name: <http://periodic-kingdom.org/People/NameChange.php>
Bawa Singh - 13 Dec 2005 06:53 GMT
Thanks Ben,
It is working now, Thanks a lot.
Bawa Singh