• 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
Why is actually kAuthorizationEnvironmentIcon often not working for 10.4?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Why is actually kAuthorizationEnvironmentIcon often not working for 10.4?


  • Subject: Why is actually kAuthorizationEnvironmentIcon often not working for 10.4?
  • From: Markus Hanauska <email@hidden>
  • Date: Thu, 3 Apr 2008 19:50:47 +0200


Hi everyone!

Has anyone here ever found out why kAuthorizationEnvironmentIcon for authorization requests sometimes works and sometimes not? It's not the image format or anything. I thought it has to do with whether the path has spaces inside or not, but that's not it either. It seems to fail as soon as the path to the file is beyond a certain length.

The code always works if I reference any image within /tmp, as this is a very short path. But if I reference the very same file in the app bundle, it fails (and I can use this C-string and pass it to "open" command on command line and the image will open in preview just fine). Has nothing to do with the image format either, like I said, the very same image works when copied to /tmp and using a path to there.

--
Best Regards,
    Markus Hanauska


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: 1 pixel bordered CALayer renders improperly
  • Next by Date: Re: Read jpeg comments from file?
  • Previous by thread: Re: Bindings on Contextual Menu Items when to unbind:
  • Next by thread: Need Mac Developers
  • Index(es):
    • Date
    • Thread