Page 1 of 1

When pbIDE is turned on and then closed WindowsSys, the IDE will clear IDE parameters

Posted: Wed Aug 07, 2024 2:28 pm
by gurj
When pbIDE is turned on and then closed WindowsSys, the IDE will clear IDE parameters,Many years.
reopen Windows and pubIde,IDE will is english.....

Re: When PubIDE is turned on and then closed WindowsSys, the IDE will clear IDE parameters

Posted: Wed Aug 07, 2024 2:38 pm
by gurj
IDE should handle these two messages:
#WM_POWERBROADCAST
#WM_QUERYENDSESSION

Re: When PubIDE is turned on and then closed WindowsSys, the IDE will clear IDE parameters

Posted: Wed Aug 07, 2024 2:54 pm
by gurj
or?:
#WM_ENDSESSION

Re: When PubIDE is turned on and then closed WindowsSys, the IDE will clear IDE parameters

Posted: Thu Aug 08, 2024 7:50 pm
by HeX0R
Just tested it, I can not confirm this.
In general, #WM_QUERYENDSESSION or similar is not needed, because Windows sends a #WM_CLOSE to all open windows before it is shutting down.

For all others which might be confused like me:
I guess PubIDE means PB IDE

btw.:
Threads can be edited also

Re: When pbIDE is turned on and then closed WindowsSys, the IDE will clear IDE parameters

Posted: Fri Aug 09, 2024 1:50 am
by gurj
I always use the old own purebasic.prefs to overwrite new, just try a lot of time, confirmed that there is a problem or bug.

my files:
pbBug\bug at PureBasic.prefs.7z
see:
ataorj.ysepan.com
---------
PowerBASIC at 1996
PureBasic at 2000

Re: When pbIDE is turned on and then closed WindowsSys, the IDE will clear IDE parameters

Posted: Fri Aug 09, 2024 3:43 am
by gurj
Supplement: If i don't use my original purebasic.prefs, there is no problem.

Re: When pbIDE is turned on and then closed WindowsSys, the IDE will clear IDE parameters

Posted: Fri Aug 09, 2024 6:38 am
by gurj
Note: There is no problem when I use my file and have manually exit IDE before turning off the Windows system.

Re: When pbIDE is turned on and then closed WindowsSys, the IDE will clear IDE parameters

Posted: Sat Feb 22, 2025 9:21 pm
by Fred
Seems to work as expected, can anybody confirm ?