maybe,WebGadget() And PureBasic.exe clash
maybe,WebGadget() And PureBasic.exe clash
maybe,WebGadget() And PureBasic.exe clash
===========
old topic:
OpenWindow() and PureBasic.exe clash
sometimes,not all times:
if winxp activate from standby mode,then if PureBasic.exe activate,
then user's pb programs read memory is unlawful,then will closed.
this question is over a long period of time, and i try many times already.
===========
old topic:
OpenWindow() and PureBasic.exe clash
sometimes,not all times:
if winxp activate from standby mode,then if PureBasic.exe activate,
then user's pb programs read memory is unlawful,then will closed.
this question is over a long period of time, and i try many times already.
Last edited by gurj on Fri Feb 10, 2017 2:35 pm, edited 1 time in total.
my pb for chinese:
http://ataorj.ys168.com
http://ataorj.ys168.com
Re: OpenWindow() and PureBasic.exe clash
I don't understand the report, sorry. Could you post a sample code to replicate your issue ?
Re: OpenWindow() and PureBasic.exe clash
sorry, my bad english.
see:
http://ataorj.ys168.com
winXPcn_pbBug/openWeb.7z:
openWeb.pb
openWeb.exe
openWeb.wmv
=========winxp-sp2-32bit:
openWeb.pb:
see:
http://ataorj.ys168.com
winXPcn_pbBug/openWeb.7z:
openWeb.pb
openWeb.exe
openWeb.wmv
=========winxp-sp2-32bit:
openWeb.pb:
Code: Select all
If OpenWindow(0, 20, 20, 750, 430, "pb-bug", #PB_Window_SizeGadget|#PB_Window_MaximizeGadget|#PB_Window_MinimizeGadget|#PB_Window_Maximize|#PB_Window_ScreenCentered)
WebGadget(0,-1,-1,WindowWidth(0),WindowHeight(0), GetCurrentDirectory()+"open.htm")
Repeat:a=WaitWindowEvent():If a=#PB_Event_SizeWindow
ResizeGadget(0,-1,-1,WindowWidth(0),WindowHeight(0)):EndIf
Until a= #PB_Event_CloseWindow
EndIf
Last edited by gurj on Fri Nov 18, 2016 6:02 pm, edited 1 time in total.
my pb for chinese:
http://ataorj.ys168.com
http://ataorj.ys168.com
-
- Always Here
- Posts: 6425
- Joined: Fri Oct 23, 2009 2:33 am
- Location: Wales, UK
- Contact:
Re: OpenWindow() and PureBasic.exe clash
Almost impossible to reproduce and very rare -but I have experienced something like this too, on Win7 32bit. Essentially, if a (PB created) exe is run when the PB IDE already running, that exe can crash or mis-behave (for example, buttons do nothing, window will not resize).
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
If it sounds simple, you have not grasped the complexity.
Re: OpenWindow() and PureBasic.exe clash
has a new case, maybe has relationships
MoveImage.exe by pb5.43/5.50/5.51
if open one MoveImage.exe,Move/drag Image,more delays.
add open one MoveImage.exe,Move/drag Image,
second MoveImage.exe ok! why?
MoveImage.exe, see:
ataorj.ys168.com
winXPcn_pbBug/
MoveImage.exe by pb5.43/5.50/5.51
if open one MoveImage.exe,Move/drag Image,more delays.
add open one MoveImage.exe,Move/drag Image,
second MoveImage.exe ok! why?
MoveImage.exe, see:
ataorj.ys168.com
winXPcn_pbBug/
my pb for chinese:
http://ataorj.ys168.com
http://ataorj.ys168.com
Re: OpenWindow() and PureBasic.exe clash
I guess PureBasic use Variables,lack protect,have hole ?...
GetProp_(GadgetID, "PB_ID") ?...
GetProp_(GadgetID, "PB_ID") ?...
my pb for chinese:
http://ataorj.ys168.com
http://ataorj.ys168.com
Re: OpenWindow() and PureBasic.exe clash
pb5.51 winxp 86
has a new case, maybe has relationships
if run code, ImageGadget(1) is transparency
then winxp to standby mode,
then winxp to activate from standby mode,
ImageGadget(1 and 0) transparency is destroyed.
has a new case, maybe has relationships
if run code, ImageGadget(1) is transparency
then winxp to standby mode,
then winxp to activate from standby mode,
ImageGadget(1 and 0) transparency is destroyed.
Code: Select all
If OpenWindow(0, 0, 0, 245, 105, "ImageGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
SetWindowColor(0,#Red)
If LoadImage(0, #PB_Compiler_Home+"Examples\Sources\Data\CdPlayer.ico")
ImageGadget(0, 10, 10, 100, 83, ImageID(0))
ImageGadget(1, 130, 10, 100, 83, ImageID(0), #PB_Image_Border)
EndIf
Repeat : Until WaitWindowEvent() = #PB_Event_CloseWindow
EndIf
my pb for chinese:
http://ataorj.ys168.com
http://ataorj.ys168.com
Re: OpenWindow() and PureBasic.exe clash
seem is WebGadget() and pbIDE clash,see:
run pbIDE
zz.pb -> zz.exe -> run zz.exe
web1.pb -> web1.exe -> run web1.exe
winxp to standby mode
delay 10 seconds
winxp to reactivates
pbIDE to reactivates
web1.exe will automatic closed by os
zz.pb:
web1.pb:
run pbIDE
zz.pb -> zz.exe -> run zz.exe
web1.pb -> web1.exe -> run web1.exe
winxp to standby mode
delay 10 seconds
winxp to reactivates
pbIDE to reactivates
web1.exe will automatic closed by os
zz.pb:
Code: Select all
If OpenWindow(0, 0, 0, 245, 105, "ImageGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
SetWindowColor(0,#Red)
If LoadImage(0, #PB_Compiler_Home+"Examples\Sources\Data\CdPlayer.ico")
ImageGadget(0, 10, 10, 100, 83, ImageID(0))
ImageGadget(1, 130, 10, 100, 83, ImageID(0), #PB_Image_Border)
EndIf
Repeat : Until WaitWindowEvent() = #PB_Event_CloseWindow
EndIf
Code: Select all
If OpenWindow(0, 0, 0, 600, 300, "WebGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
WebGadget(0, 10, 10, 580, 280, "")
Repeat
Until WaitWindowEvent() = #PB_Event_CloseWindow
EndIf
my pb for chinese:
http://ataorj.ys168.com
http://ataorj.ys168.com
Re: maybe,WebGadget() And PureBasic.exe clash
maybe, pb IDE and iexplore clash. also more times, when ie isnt default WebBrowser.
my is winxp sp3 x86
see:
http://ataorj.ys168.com
winXPcn_pbBug/maybe pb IDE and iexplore clash.GIF
my is winxp sp3 x86
see:
http://ataorj.ys168.com
winXPcn_pbBug/maybe pb IDE and iexplore clash.GIF
my pb for chinese:
http://ataorj.ys168.com
http://ataorj.ys168.com
Re: maybe,WebGadget() And PureBasic.exe clash
maybe, WebGadget and ie is ok.
pb IDE has bug.
pb IDE has bug.
my pb for chinese:
http://ataorj.ys168.com
http://ataorj.ys168.com
Re: maybe,WebGadget() And PureBasic.exe clash
Sorry, my previous computer had two unknown devices that used the wrong driver and have now been processed, and the PB seems to be normal because there have been no issues mentioned in the topic for a long time.
my pb for chinese:
http://ataorj.ys168.com
http://ataorj.ys168.com
Re: maybe,WebGadget() And PureBasic.exe clash
But there is a problem with this system, and when you open a *.col and click on the index box, the col exits immediately. So I went back to the old system, and now the analysis thinks it may have caused the subject problem by upgrading to WMPLAYER11.
my pb for chinese:
http://ataorj.ys168.com
http://ataorj.ys168.com