[fpc-devel] Console problem in Lazarus trunk

J. Gareth Moreton gareth at moreton-family.com
Sat Jul 25 21:31:24 CEST 2020


Unfortunately this one didn't work for me.  I do have Avast Antivirus, 
but adding Lazarus both as an exception and as an allowed app failed to 
fix the problem.  I've kept the entries present though.

Gareth aka. Kit

On 25/07/2020 19:49, Ozz Nixon via fpc-devel wrote:
> Probably not your issue - but, if you have Avasta Anti-Virus - it can 
> foobar Lazarus and Delphi console apps - where the Console is showing, 
> but you cannot find it. Not on Taskbar, not in TaskList, etc. If you 
> put an exclusion on your binary folder, then it works. Took me about 2 
> days to figure this out.
>
> On Sat, Jul 25, 2020 at 1:41 PM J. Gareth Moreton 
> <gareth at moreton-family.com <mailto:gareth at moreton-family.com>> wrote:
>
>     Hi everyone,
>
>     This is likely due to something peculiar in my configuration that I
>     haven't found yet, but I can't be sure.  I'm having problems in
>     that the
>     latest Lazarus trunk won't create a console window when I'm
>     running the
>     compiler source in the debugger.  I tried to jury-rig it to create
>     its
>     own using the AllocConsole() Windows API function as a temporary
>     workaround, but it failed with an "access denied" error.  The
>     little I
>     could find on that error implies that the application already has a
>     console, but it's not displayed. Anyone got any ideas?
>
>     Gareth aka. Kit
>
>
>     -- 
>     This email has been checked for viruses by Avast antivirus software.
>     https://www.avast.com/antivirus
>
>     _______________________________________________
>     fpc-devel maillist  - fpc-devel at lists.freepascal.org
>     <mailto:fpc-devel at lists.freepascal.org>
>     https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
>
>
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20200725/1fec0f29/attachment.htm>


More information about the fpc-devel mailing list