[Solved] Programs Compiled with PB v6LTS flash the Screen Black on Close
-
- Always Here
- Posts: 6426
- Joined: Fri Oct 23, 2009 2:33 am
- Location: Wales, UK
- Contact:
[Solved] Programs Compiled with PB v6LTS flash the Screen Black on Close
Programs Compiled with PB v6LTS flash the Screen Black on Close. Does everyone experience this? I'm on Windows7 64bit. When the program is closed (regular close button on the Window Titlebar) the Desktop (both screens) flashes black for at least 1 second. I have never seen this happen before with 'old' PB (like PB 573)
Last edited by IdeasVacuum on Mon Aug 29, 2022 12:41 am, edited 1 time in total.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
If it sounds simple, you have not grasped the complexity.
Re: Programs Compiled with PB v6LTS flash the Screen Black on Close
I can't recreate it here,
Any threads running in the background? Or Mutex and Semaphores?
Any threads running in the background? Or Mutex and Semaphores?
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
-
- Addict
- Posts: 4787
- Joined: Thu Jun 07, 2007 3:25 pm
- Location: Berlin, Germany
Re: Programs Compiled with PB v6LTS flash the Screen Black on Close
Personally, I never experienced that (using Windows 10 and 11 x64).IdeasVacuum wrote: Sun Aug 28, 2022 1:39 pm Programs Compiled with PB v6LTS flash the Screen Black on Close.
Can you post some working code that demonstrates the issue?
- Michael Vogel
- Addict
- Posts: 2806
- Joined: Thu Feb 09, 2006 11:27 pm
- Contact:
Re: Programs Compiled with PB v6LTS flash the Screen Black on Close
Do you se this effect with all of your programs (even a simple "Hello world") or only for specific programs (console, directx, opengl,...)?
Re: Programs Compiled with PB v6LTS flash the Screen Black on Close
It could also be a problem in connection with capture/streaming software if used.
-
- Always Here
- Posts: 6426
- Joined: Fri Oct 23, 2009 2:33 am
- Location: Wales, UK
- Contact:
Re: Programs Compiled with PB v6LTS flash the Screen Black on Close
Thanks for all the suggestions. I tried testing progressively larger projects in PB6 and they do not cause the flashing, but if I run *similar .pb files in PB6 that were written in 5.72/5.73, flashing occurs.
*similar because code copy-pasted from 5.72/5.73 files
....narrowed it down to a common include file used to get system info such as Desktop metrics, Locale, Disk space etc. A lesser-used Procedure to get OpenGL info (Version, Vendor) is the culprit - so I have simply commented it out.
*similar because code copy-pasted from 5.72/5.73 files
....narrowed it down to a common include file used to get system info such as Desktop metrics, Locale, Disk space etc. A lesser-used Procedure to get OpenGL info (Version, Vendor) is the culprit - so I have simply commented it out.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
If it sounds simple, you have not grasped the complexity.