On 26 Feb 2008, at 05:44, Phill Kelley wrote:

The NSAttributedString is the only reason why this app needs to link
against AppKit.

I used this program heavily during the second half of 2007. It was run
about 6 times per hour, 24x7, via cron (three different sets of pages being
monitored into three separate feeds). The thing never missed a beat. I
stopped using it close to the end of November when the need for it went
away.

Today, I tried to use it again and it promptly barfed with:

  RegisterProcess failed (error = -50)

I tracked the problem to the above instantiation of the NSAttributedString.

This sounds like a Window Server dependency problem to me. Because you're running your process from cron, you need to follow the rules in TN2083:

  <http://developer.apple.com/technotes/tn2005/tn2083.html>

You might investigate the section labelled "Debugging Rogue Window Server Use".

Kind regards,

Alastair.

--
http://alastairs-place.net


_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to