discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSThreading


From: Luboš Doležel
Subject: Re: NSThreading
Date: Wed, 14 Nov 2012 10:56:09 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121010 Thunderbird/16.0.1

On Windows 7, the application IMO needs to actually request admin privileges in order to have them.

Try running the app under admin privileges (right click - Run as administrator) and it should be OK.

Lubos

On 14.11.2012 10:11, Andor Kocsis wrote:
Thanks to everyone for fast and accurate help. Selector fixed to
"do_it:", and it works now. However still have a warning, and have no
idea, how to avoid it. Programs output now:

------------------------------------------------
2012-11-14 09:13:32.020 helloworld[3096] obj1#tick
2012-11-14 09:13:31.980 helloworld[3096] WARNING - unable to create
shared user
defaults!
2012-11-14 09:13:32.030 helloworld[3096] main#tick
------------------------------------------------

It complains only when NSThread starts - no warning about user defaults
without NSThread. I am with admin rights on my Windows 7 system, and
should not be a problem to create a file, if something library function
really want to do that in depths. Also searched for a user defaults
file, what it should to be on Windows system, thought no problem with
creation, if system already have it. Not so much found.

Can i download one somewhere? Or any other way to fix it?

------------------------------------------------------------------------
*From:* Tom Davie <tom.davie@gmail.com>
*To:* Jamison Hope <jrh@theptrgroup.com>
*Cc:* Andor Kocsis <andor_kocsis@yahoo.com>; discuss-gnustep@gnu.org
*Sent:* Tuesday, November 13, 2012 11:24 PM
*Subject:* Re: NSThreading


On 13 Nov 2012, at 22:08, Jamison Hope <jrh@theptrgroup.com
<mailto:jrh@theptrgroup.com>> wrote:

 > That should be 'NSSelectorFromString(@"do_it:")' with the colon at
the end.
 > At least, that fixes it compiling/running on Cocoa, so I assume it's the
 > same issue for GNUstep.. and it is, look at your error message:

Or, alternatively, @selector(do_it:), which will allow the compiler to
verify that the selector actually exists somewhere.

Bob





_______________________________________________
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnustep



--
Luboš Doležel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]