Message from discussion
NSThreading
Received: by 10.66.73.7 with SMTP id h7mr623390pav.6.1352886986593;
Wed, 14 Nov 2012 01:56:26 -0800 (PST)
Path: 6ni80613pbd.1!nntp.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!news.glorb.com!usenet.stanford.edu!not-for-mail
From: =?windows-1252?Q?Lubo=9A_Dole=9Eel?= <lu...@dolezel.info>
Newsgroups: gnu.gnustep.discuss
Subject: Re: NSThreading
Date: Wed, 14 Nov 2012 10:56:09 +0100
Lines: 67
Approved: discuss-gnus...@gnu.org
Message-ID: <mailman.12957.1352886985.855.discuss-gnustep@gnu.org>
References: <1352843204.78070.YahooMailNeo@web120704.mail.ne1.yahoo.com>
<C5777CAA-E9B3-4A70-8BDD-7A6146C88F57@theptrgroup.com>
<1A3E0A31-8924-49BA-B9C9-DF2001569FCE@huntedcow.com>
<1352884303.60097.YahooMailNeo@web120703.mail.ne1.yahoo.com>
NNTP-Posting-Host: lists.gnu.org
Mime-Version: 1.0
X-Trace: usenet.stanford.edu 1352886986 14814 208.118.235.17 (14 Nov 2012 09:56:26 GMT)
X-Complaints-To: action@cs.stanford.edu
Cc: discuss-gnus...@gnu.org
To: Andor Kocsis <andor_koc...@yahoo.com>
Envelope-to: discuss-gnus...@gnu.org
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
rv:16.0) Gecko/20121010 Thunderbird/16.0.1
In-Reply-To: <1352884303.60097.YahooMailNeo@web120703.mail.ne1.yahoo.com>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 82.208.17.52
X-BeenThere: discuss-gnus...@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Discussion list for the GNUstep programming environment
<discuss-gnustep.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/discuss-gnustep>,
<mailto:discuss-gnustep-requ...@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/discuss-gnustep>
List-Post: <mailto:discuss-gnus...@gnu.org>
List-Help: <mailto:discuss-gnustep-requ...@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/discuss-gnustep>,
<mailto:discuss-gnustep-requ...@gnu.org?subject=subscribe>
X-Received-Bytes: 4211
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: quoted-printable
On Windows 7, the application IMO needs to actually request admin=20
privileges in order to have them.
Try running the app under admin privileges (right click - Run as=20
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.da...@gmail.com>
> *To:* Jamison Hope <j...@theptrgroup.com>
> *Cc:* Andor Kocsis <andor_koc...@yahoo.com>; discuss-gnus...@gnu.org
> *Sent:* Tuesday, November 13, 2012 11:24 PM
> *Subject:* Re: NSThreading
>
>
> On 13 Nov 2012, at 22:08, Jamison Hope <j...@theptrgroup.com
> <mailto:j...@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-gnus...@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnustep
>
--=20
Lubo=9A Dole=9Eel