• 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
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SystemConfiguration framework and Carbon CFM


  • Subject: Re: SystemConfiguration framework and Carbon CFM
  • From: Dave Rehring <email@hidden>
  • Date: Tue, 21 Jun 2005 14:05:37 -0700

On 6/21/05 1:47 PM, Igor Garnov at email@hidden wrote:

> 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.

Igor,

First, I would suggest that you split your app into bundled app containing
an OS9 CFM part and an OSX mach-o part.  They can still share code, be built
from mostly the same sources, but it makes life on OS X significantly
easier.

Second, you need to embed these CFString's into your own code to pass to the
framework.  You can probably just copy the definitions into your code if you
can't directly include the header file.

Later,
--
David Rehring                  Psychos do not explode when light hits
VP of Research and Development them, no matter how crazy they are...
Atimi Software, Inc.
www.atimi.com                  And totally insane guy!


 _______________________________________________
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

  • Follow-Ups:
    • Re: SystemConfiguration framework and Carbon CFM
      • From: Duane Murphy <email@hidden>
References: 
 >SystemConfiguration framework and Carbon CFM (From: Igor Garnov <email@hidden>)

  • Prev by Date: SystemConfiguration framework and Carbon CFM
  • Next by Date: Re: SystemConfiguration framework and Carbon CFM
  • Previous by thread: SystemConfiguration framework and Carbon CFM
  • Next by thread: Re: SystemConfiguration framework and Carbon CFM
  • Index(es):
    • Date
    • Thread