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

Post bugs related to the IDE here
User avatar
gurj
Enthusiast
Enthusiast
Posts: 693
Joined: Thu Jan 22, 2009 3:48 am
Location: china
Contact:

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

Post 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.....
Last edited by gurj on Fri Aug 09, 2024 2:24 am, edited 1 time in total.
my pb for chinese:
http://ataorj.ys168.com
User avatar
gurj
Enthusiast
Enthusiast
Posts: 693
Joined: Thu Jan 22, 2009 3:48 am
Location: china
Contact:

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

Post by gurj »

IDE should handle these two messages:
#WM_POWERBROADCAST
#WM_QUERYENDSESSION
my pb for chinese:
http://ataorj.ys168.com
User avatar
gurj
Enthusiast
Enthusiast
Posts: 693
Joined: Thu Jan 22, 2009 3:48 am
Location: china
Contact:

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

Post by gurj »

or?:
#WM_ENDSESSION
my pb for chinese:
http://ataorj.ys168.com
User avatar
HeX0R
Addict
Addict
Posts: 1204
Joined: Mon Sep 20, 2004 7:12 am
Location: Hell

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

Post 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
User avatar
gurj
Enthusiast
Enthusiast
Posts: 693
Joined: Thu Jan 22, 2009 3:48 am
Location: china
Contact:

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

Post 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
my pb for chinese:
http://ataorj.ys168.com
User avatar
gurj
Enthusiast
Enthusiast
Posts: 693
Joined: Thu Jan 22, 2009 3:48 am
Location: china
Contact:

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

Post by gurj »

Supplement: If i don't use my original purebasic.prefs, there is no problem.
my pb for chinese:
http://ataorj.ys168.com
User avatar
gurj
Enthusiast
Enthusiast
Posts: 693
Joined: Thu Jan 22, 2009 3:48 am
Location: china
Contact:

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

Post by gurj »

Note: There is no problem when I use my file and have manually exit IDE before turning off the Windows system.
my pb for chinese:
http://ataorj.ys168.com
Fred
Administrator
Administrator
Posts: 18220
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

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

Post by Fred »

Seems to work as expected, can anybody confirm ?
Post Reply