You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I to use the console window in my VCL project:
if not AttachConsole(DWORD(-1)) then
AllocConsole;
but TProviderConsole is checking for a definition of CONSOLE which prevents VCL apps with "manual" console to use the provider.
Removing the definitions works without problems. (Since the VCL Form App isn't a console app it doesn't define this)
The text was updated successfully, but these errors were encountered:
chmichael
changed the title
Remove {$IF NOT DEFINED(CONSOLE)} to support vcl apps
Remove {$IF NOT DEFINED(CONSOLE)} to support vcl form apps
Oct 12, 2024
Hello,
I to use the console window in my VCL project:
if not AttachConsole(DWORD(-1)) then
AllocConsole;
but TProviderConsole is checking for a definition of CONSOLE which prevents VCL apps with "manual" console to use the provider.
Removing the definitions works without problems. (Since the VCL Form App isn't a console app it doesn't define this)
procedure TProviderConsole.Save(const ACache: TArray);
...
{$IF NOT DEFINED(CONSOLE)} // REMOVE
Exit;
{$ENDIF}
Thank you
The text was updated successfully, but these errors were encountered: