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 <[email protected]>
*To:* Jamison Hope <[email protected]>
*Cc:* Andor Kocsis <[email protected]>; [email protected]
*Sent:* Tuesday, November 13, 2012 11:24 PM
*Subject:* Re: NSThreading


On 13 Nov 2012, at 22:08, Jamison Hope <[email protected]
<mailto:[email protected]>> 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
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep



--
Luboš Doležel

_______________________________________________
Discuss-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to