Page 1 of 1

OpenConsole() not displaying a console

Posted: Sun Sep 17, 2023 3:12 pm
by kaylus
I've tested this on three different arm64 Macs:

1. Open PureBasic
2. Load Console.pb
3. Click run

The console appears in the taskbar as a grey bouncing icon, it lasts as long as the program execution and the program appears to run. I was able to modify the Networking example to use Console and it connected and processed events but the console never displayed.

Tested on Ventura 13.3.1, and Sonoma Beta 14.0.

I have a feeling this is some permissions related issue, but I haven't been able to find it. This is also happening if I compile the App and attempt to run it as well.

// Moved from "Bugs - Mac OSX" to "Mac OSX" (Kiffi)

Re: OpenConsole() not displaying a console

Posted: Sun Sep 17, 2023 3:36 pm
by mk-soft
Menu -> Compiler -> Compiler Options
- Executable Format -> Console

;)

Re: OpenConsole() not displaying a console

Posted: Sun Sep 17, 2023 3:42 pm
by kaylus
Ah, weird -- I had set that after reading the other thread and thought I tested but maybe between swapping in and out the Rosetta versions and twinging settings I missed it or possibly set it on the Rosetta compiler which (clearly) failed and unset it. You are absolutely correct, this "bug" is my fault.

Re: OpenConsole() not displaying a console

Posted: Mon Sep 18, 2023 6:15 pm
by Piero
mk-soft wrote: Sun Sep 17, 2023 3:36 pm Menu -> Compiler -> Compiler Options
- Executable Format -> Console

;)
You are always so gentle and helpful mk...

...are all primes (past 2 and 3) of the forms 6n+1 and 6n-1? :P

Re: OpenConsole() not displaying a console

Posted: Mon Sep 18, 2023 7:48 pm
by Demivec
off-topic posting removed

Re: OpenConsole() not displaying a console

Posted: Tue Sep 19, 2023 7:13 am
by Lord
Piero wrote: Mon Sep 18, 2023 6:15 pm
mk-soft wrote: Sun Sep 17, 2023 3:36 pm Menu -> Compiler -> Compiler Options
- Executable Format -> Console

;)
...

...are all primes (past 2 and 3) of the forms 6n+1 and 6n-1? :P
Why do you hijack this thread?