Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SystemConfiguration framework and Carbon CFM



Hello

I am developing the application that is still compatible with Mac OS 9. I try to implement some advanced features of Mac OS X when running on it by dynamically loading frameworks and then getting pointers to their functions.

When trying to use this approach with System Configuration framework, I have encountered the following problem: I can't make the code work because I don't know the contents of the following constants:

kSCDynamicStoreDomainState
kSCCompAnyRegex
kSCEntNetIPv4

Despite they're called as though they're constants, they appear to be variables. How do I get their meaning at run time to make my code work?

Yes, just in case - it's all about using SC to notify me when I lose network connection (a cable is disconnected) on Mac OS X. On Mac OS 9 I'm using kOTStackWasLoaded and kOTStackIsUnloading notification messages.

Any help is greatly appreciated.

Regards,
Igor

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macnetworkprog/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.