Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / Mac Programming / December 2005



Tip: Looking for answers? Try searching our database.

System Preferences Constants (kSCPrefCurrentSet) are not getting resolved

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Bawa Singh - 08 Dec 2005 08:35 GMT
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
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.