• 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
10.3 problem...or me
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

10.3 problem...or me


  • Subject: 10.3 problem...or me
  • From: Bo Gunn <email@hidden>
  • Date: Thu, 30 Oct 2003 14:28:51 -0600

I have written an application which needs reference to a filename (or
filenames) opened by the user at many different times. A solution that
works on Jaguar is defined a global variable NSOpenPanel *panel and defining
two functions

(1) - (NSArray *) panel_filenames
{
return [panel filenames];
}

And
(2) - (unsigned) panel_filenames_count
{
return [[panel filenames] count]];
}

This method works fine on Jaguar but fails on Panther. I get a BAD_ACCESS
error upon the second time I call the first function. Any ideas (or
constructive criticism)?

b.o.
_______________________________________________
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.

  • Follow-Ups:
    • Re: 10.3 problem...or me
      • From: Andreas Mayer <email@hidden>
    • Re: 10.3 problem...or me
      • From: Ambroise Confetti <email@hidden>
  • Prev by Date: Re: drawAtPoint rendering thin, light text?
  • Next by Date: Custom background drawing in NSScrollView
  • Previous by thread: Complex number class and/or formatter
  • Next by thread: Re: 10.3 problem...or me
  • Index(es):
    • Date
    • Thread