• 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: how to warn users of wrong system
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to warn users of wrong system


  • Subject: Re: how to warn users of wrong system
  • From: Jérome Foucher <email@hidden>
  • Date: Mon, 13 Oct 2003 16:44:54 +0200

On lundi, oct 13, 2003, at 15:38 Europe/Paris, Andrew Thompson wrote:

Couple of notes:

It works when the application is launched from the Finder (indeed, it works so quickly its clear that the application is *NOT* lauching, the Finder or LaunchServices must be displaying the dialog), but it doesn't work if you launch the app by clicking the Run button inside of Project Builder.

If I try to run the application from DragThing then nothing happens... I double click and it doesn't launch but no dialog is displayed.

Launch Services will report an error if you call LSOpenFromRef or any call like that.
From what I've seen if you ask for the application's flags in Launch Services to identify if it's an applciation, file or folder, (via the LSCopyItemlnfoForRef) it doesn't say it's an application.


The dialog that comes up is particularly unhelpful:

"The application cannot be launched because this system is incompatible".

No indication of which application, or which system version is required :(

I absolutely agree.
The main advantage of using this technique is that you don't have to modify your code in any way.
Maybe we should fill a bug-report for Apple to enhance this dialog.


Perhaps there's a better dialog in Panther...

No idea. I haven't tried it out.

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

References: 
 >Re: how to warn users of wrong system (From: Andrew Thompson <email@hidden>)

  • Prev by Date: Re: Custom NSColorWell icon
  • Next by Date: Re: Address Book Helper code released to public domain
  • Previous by thread: Re: how to warn users of wrong system
  • Next by thread: Re: how to warn users of wrong system
  • Index(es):
    • Date
    • Thread