SystemConfiguration framework and Carbon CFM
SystemConfiguration framework and Carbon CFM
- Subject: SystemConfiguration framework and Carbon CFM
- From: Igor Garnov <email@hidden>
- Date: Wed, 22 Jun 2005 00:47:48 +0400
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:
This email sent to email@hidden