Re: How to change default browser in Mac OS X 10.2?
Re: How to change default browser in Mac OS X 10.2?
- Subject: Re: How to change default browser in Mac OS X 10.2?
- From: "M. Uli Kusterer" <email@hidden>
- Date: Tue, 13 May 2003 15:27:03 +0200
My code is
#define kICDefaultBrowser "%pHelper*http"
ICInstance theInst;
OSStatus status = ICStart( &theInst, 0 );
Size size = sizeof( OSType );
ICAttr attr = kICAttrNoChange;
status = ICSetPref( theInst, kICDefaultBrowser, attr,
(OSType*)&creator, size ); <- Error!
status = ICStop( theInst );
What error do you get? Is it a compiler error, or does status get set
to an error number? If yes, what number is it? Have you looked up
what the error code means in the headers (you might have to peek at
<MacErrors.h> if it's not in the Internet Config headers)
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.