Rendevous/Zeroconfig with Carbon CFM
Rendevous/Zeroconfig with Carbon CFM
- Subject: Rendevous/Zeroconfig with Carbon CFM
- From: "Dean Dauger" <email@hidden>
- Date: Thu, 16 May 2002 09:38:51 -0700
Hi All,
I've written a Carbon CFM app using CW Pro 6, and I'd like to be able to
call CFNetServices so I can incorporate the new features into my code.
(Obviously, I'll check the OS version, etc.) I've been able to use Bundles
to access the right routines (CFNetServiceRegister,
CFNetServiceScheduleWithRunLoop, etc.) in Jaguar, but there are still a few
details missing. For example, I think I need to specify a runLoopMode using
one of these:
CF_EXPORT const CFStringRef kCFRunLoopDefaultMode;
CF_EXPORT const CFStringRef kCFRunLoopCommonModes;
However, I can't directly #include CFRunLoop.h or simply paste in these
references because CW's linker can't find these extern's. CarbonLib 1.5
doesn't seem to know about CFRunLoop.h or any of its pieces.
Is there another way to access these const's? Or is there entirely another,
better way to access CFNetServices from Carbon CFM?
Thanks in advance!
Dean
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.