[fpc-pascal] Thread IDs

2010-02-18 Thread Wimpie Nortje
Hello list, What is the difference between GetThreadID() and GetCurrentThreadID()? ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Thread IDs

2010-02-18 Thread Jonas Maebe
On 18 Feb 2010, at 16:35, Wimpie Nortje wrote: What is the difference between GetThreadID() and GetCurrentThreadID()? There is a threadvar called threadid in the system unit. When a new thread is started, GetCurrentThreadID is called to obtain the thread id of the new thread (via the

Re: [fpc-pascal] Is fppkg dead?

2010-02-18 Thread Jeff Wormsley
On 2/17/2010 4:46 AM, Jonas Maebe wrote: It is only sleeping. Pining for the fjords? (Sorry, couldn't resist.) Jeff. -- I haven't smoked for 3 years, 6 months and 1 day, saving $5,767.05 and not smoking 38,447.00 cigarettes. ___ fpc-pascal

[fpc-pascal] Re: Ido not understand UTF8 in Windows console.

2010-02-18 Thread Luis Fernando Del Aguila Mejía
If you are doing this in Lazarus by default you are creating a GUI application, so any writeln will raise an error as stdout is closed. I am not using lazarus, I am using PSPad, gedit, jedit, notepad, etc.. I just wanted to know is whether you can write the source code using UTF8. In linux

Re: [fpc-pascal] Re: Ido not understand UTF8 in Windows console.

2010-02-18 Thread JoshyFun
Hello FPC-Pascal, Thursday, February 18, 2010, 7:05:44 PM, you wrote: LFDAM I am not using lazarus, I am using PSPad, gedit, jedit, notepad, etc.. LFDAM I just wanted to know is whether you can write the source code using UTF8. LFDAM In linux this simple program, it compiles and runs, but in

Re: [fpc-pascal] Thread IDs

2010-02-18 Thread Wimpie Nortje
Jonas Maebe wrote: On 18 Feb 2010, at 16:35, Wimpie Nortje wrote: What is the difference between GetThreadID() and GetCurrentThreadID()? There is a threadvar called threadid in the system unit. When a new thread is started, GetCurrentThreadID is called to obtain the thread id of the new

Re: [fpc-pascal] Thread IDs

2010-02-18 Thread Vincent Snijders
Wimpie Nortje schreef: Jonas Maebe wrote: On 18 Feb 2010, at 16:35, Wimpie Nortje wrote: What is the difference between GetThreadID() and GetCurrentThreadID()? There is a threadvar called threadid in the system unit. When a new thread is started, GetCurrentThreadID is called to obtain

[fpc-pascal] FPC from subversion without root access

2010-02-18 Thread Osvaldo Filho
Como posso ter o FPC do subversion instalado em meu diretório? 1) Download form subversion - Ok ...) Compile? Create ~/.fpc.cfg? How ? ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Re: FPC from subversion without root access

2010-02-18 Thread Marc Weustink
Osvaldo Filho wrote: Sorry: How can I get the FPC subversion installed on my directory? 1) Download form subversion - Ok download them into say ~/fpc/trunk ...) Compile? Create ~/.fpc.cfg? How ? then in ~/fpc/trunk dir run: make all make install PREFIX=~ FPC_VERSION=2.5.1 this will

Re: [fpc-pascal] Re: Ido not understand UTF8 in Windows

2010-02-18 Thread Luis Fernando Del Aguila Mejía
Ok, The steps are : 1) Change the Font Type at Lucida Console Font : http://www.conoce3000.com/fig01.jpg 2) Compile the program with fpc 2.4. : 3) change to UTF8, with chcp 65001 command 4) run the program Step 01 to 04 : http://www.conoce3000.com/fig02.jpg The source code :

[fpc-pascal] RE: Exec(), Linux, and /dev/null redirection

2010-02-18 Thread Zitt Zitterkopf
I wanted to thank you guys for you help with this and other problems I posted recently. My project entered beta today... and I'm expecting it to be opensourced in the coming mth or so. I ended up using the suggestion of using the fpsystem() call which seemed to work well except that it