• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: SystemConfiguration framework and Carbon CFM - completed
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SystemConfiguration framework and Carbon CFM - completed


  • Subject: Re: SystemConfiguration framework and Carbon CFM - completed
  • From: Mike Kluev <email@hidden>
  • Date: Mon, 27 Jun 2005 02:38:42 -0800

on Sat, 25 Jun 2005 20:29:36, Igor Garnov <email@hidden> wrote:

> Thanks everyone and especially to Mr. Quinn and Mike Kluev for their
> advise - it helped me solve the problem.
>
> The application now works identically on both Classic and Mac OS X.

For the record (so others could benefit). The following fragment contained
bug:

_kSCDynamicStoreDomainState = ( CFStringRef )CFBundleGetDataPointerForName(
cfBundle, CFSTR( "kSCDynamicStoreDomainState" ) );

CFBundleGetDataPointerForName returns "data pointer", not "data", so
it should be:

p = CFBundleGetDataPointerForName(cfBundle,
CFSTR("kSCDynamicStoreDomainState"));
if (p) _kSCDynamicStoreDomainState = *(CFStringRef *)p;

> The only thing that surprises me a bit is that on Classic I get
> 'network lost' events repeatedly, whereas on Mac OS X it happens only
> once. The workaround for this is trivial to implement, but I am still
> curious if it's the way it's meant to be or am I doing something
> wrong... However, it's not that important.

Mike


 _______________________________________________
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

  • Prev by Date: Re: PPPoE Section in AirPort ?
  • Next by Date: Re: attached gateways [MORE_QUESTIONS...]
  • Previous by thread: SystemConfiguration framework and Carbon CFM - completed
  • Next by thread: PPPoE Section in AirPort ?
  • Index(es):
    • Date
    • Thread