[fpc-pascal]To thread or not to thread

2003-03-03 Thread Christophe Espern
Hello, I'm playing with threads by using the TThread object under Linux with FPC 1.06. What is the equivalent to the sleep function found in Delphi ? I tried nanosleep but the task assign to the thread seems to failed. procedure TVAProcess.Execute; var tm:timespec; begin while not Terminated

[fpc-pascal]Re: How to resize window under win32? SOLVED

2003-03-03 Thread Martin Hankovec
Thanks you all. I use now FindWindow to get handle of application and then SetWindowPos...it works fine. (And it's important use WinExec instead of Exec, because Exec doesn't wait for starting of next application and the handle cannot be simply obtained) Thanks once again and have a good time Mar

[fpc-pascal]orbit wombat

2003-03-03 Thread jordi
- Is it possible to use ORBit and Wombat with Free Pascal or it must be translated first? - I think it's possible insert c code in a pascal program, but how? - How can I know if a lib is written in c or c++? A little of help with these questions will be wellcome. Thanks. -- jordi <[EMAIL PROT