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.
