• 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
IE and NSWorkspace crashing issue.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

IE and NSWorkspace crashing issue.


  • Subject: IE and NSWorkspace crashing issue.
  • From: email@hidden
  • Date: Mon, 13 May 2002 22:45:57 -0700

Why using the following method as an Action member crashes IE when IE isn'
t open, but works as expected when IE is already open in the background?

- (void)launchURL1: (id) sender
{
NSImage *updateImage;
BOOL openApp;

NSWorkspace *ws = [NSWorkspace sharedWorkspace];
openApp = [ws openURL: [NSURL URLWithString: [headlinesURLArray objectAtIndex: 1]]];
NSLog(@"Open URL %d", openApp);
updateImage = [NSImage imageNamed:@"updated.jpg"];
[NSApp setApplicationIconImage: updateImage];
}

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

  • Prev by Date: Re: When will drag'n'drop to the Finder work? (promiseHFS)
  • Next by Date: Re: DO Proxy
  • Previous by thread: Re: Displaying top
  • Next by thread: createSymbolicLinkAtPath
  • Index(es):
    • Date
    • Thread