Thanks! G.
On 3/16/06, Vincent Snijders <[EMAIL PROTECTED]> wrote: > Graeme Geldenhuys wrote: > >>>>program Browser; > >>>> > >>>>{$mode objfpc}{$H+} > >>>> > >>>>uses > >>>> {$IFDEF UNIX}{$IFDEF UseCThreads} > >>> > >>The is part of the Lazarus Application template for the lpr file.. > >> > >>Packages requiring threading can add -dUseCThreads to their Usages options, > >>so that > >>the cthreads unit will be added on unix. > >> > > > > > > What about applications? Do I need to specify the -dUseCThreads > > option for applications as well, or does Lazarus automatically add it > > in somewhere? > > If you create your own threads and you don't put the unit that creates > the threads in a package, then you should add the CTHreads unit yourself > on *nix. If you used this template you can do this by adding > -dUseCThreads to the custom compiler options. > > Vincent. > > _________________________________________________________________ > To unsubscribe: mail [EMAIL PROTECTED] with > "unsubscribe" as the Subject > archives at http://www.lazarus.freepascal.org/mailarchives > _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives