• 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: RTFD from a Foundation app?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RTFD from a Foundation app?


  • Subject: Re: RTFD from a Foundation app?
  • From: Alex Rice <email@hidden>
  • Date: Thu, 6 Feb 2003 10:54:01 -0700

On Thursday, February 6, 2003, at 10:30 AM, Douglas Davidson wrote:

The code for reading and writing RTF and RTFD resides in the AppKit. Even the relevant attributes are defined in the AppKit. However, it should be possible for command-line tools to link with AppKit if necessary.

That's what I was doing originally but was getting this error when executing if the user is not logged in (from cron)

kCGErrorIllegalArgument : initCGDisplayState: cannot map display interlocks.
kCGErrorIllegalArgument : CGSNewConnection cannot get connection port
INIT_Processeses(), could not establish the default connection to the WindowServer.Abort

I misinterpreted this and thought I couldn't link with AppKit at all, if running while the user is not logged, but now I see that's not the case - I can link with AppKit. But, what things are going to fail in AppKit if I message them while the user is not logged in?

Thanks,

Alex Rice <email@hidden> | Mindlube Software | http://mindlube.com

what a waste of thumbs that are opposable
to make machines that are disposable -Ani DiFranco
_______________________________________________
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: RTFD from a Foundation app?
      • From: Douglas Davidson <email@hidden>
References: 
 >Re: RTFD from a Foundation app? (From: Douglas Davidson <email@hidden>)

  • Prev by Date: Re: subclass NSTableColumn
  • Next by Date: Re: Internet Config Example under Cocoa
  • Previous by thread: Re: RTFD from a Foundation app?
  • Next by thread: Re: RTFD from a Foundation app?
  • Index(es):
    • Date
    • Thread