<div dir="ltr"><div class="gmail_default" style="font-size:large">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.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Jul 25, 2020 at 1:41 PM J. Gareth Moreton <<a href="mailto:gareth@moreton-family.com">gareth@moreton-family.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi everyone,<br>
<br>
This is likely due to something peculiar in my configuration that I <br>
haven't found yet, but I can't be sure. I'm having problems in that the <br>
latest Lazarus trunk won't create a console window when I'm running the <br>
compiler source in the debugger. I tried to jury-rig it to create its <br>
own using the AllocConsole() Windows API function as a temporary <br>
workaround, but it failed with an "access denied" error. The little I <br>
could find on that error implies that the application already has a <br>
console, but it's not displayed. Anyone got any ideas?<br>
<br>
Gareth aka. Kit<br>
<br>
<br>
-- <br>
This email has been checked for viruses by Avast antivirus software.<br>
<a href="https://www.avast.com/antivirus" rel="noreferrer" target="_blank">https://www.avast.com/antivirus</a><br>
<br>
_______________________________________________<br>
fpc-devel maillist - <a href="mailto:fpc-devel@lists.freepascal.org" target="_blank">fpc-devel@lists.freepascal.org</a><br>
<a href="https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel" rel="noreferrer" target="_blank">https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel</a><br>
</blockquote></div>