[fpc-pascal] (no subject)

Bihar Anwar bihar_anwar at rocketmail.com
Sun Apr 11 09:09:31 CEST 2010


I have the following part of a unit code which can be compiled successfully under a normal GUI application.

  {$IFNDEF NOFORMSPLEASE}
  if soProcessMessages in oSearchOptions then
    Application.ProcessMessages;
  {$ENDIF}

My question is, how can I use this unit from my console application? I know that a console application won't receive that kind of notification, but since this is a unit for searching folders/files, I want to use it too in my console application.

Any help appreciated. Thanks.



      



More information about the fpc-pascal mailing list