It is currently Sun Sep 22, 2019 3:21 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 12 posts ] 
Author Message
 Post subject: maybe,WebGadget() And PureBasic.exe clash
PostPosted: Fri Nov 18, 2016 9:53 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Thu Jan 22, 2009 3:48 am
Posts: 596
Location: china
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.

_________________
my pb for chinese:
http://ataorj.ys168.com


Last edited by gurj on Fri Feb 10, 2017 2:35 pm, edited 1 time in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: OpenWindow() and PureBasic.exe clash
PostPosted: Fri Nov 18, 2016 11:43 am 
Offline
Administrator
Administrator

Joined: Fri May 17, 2002 4:39 pm
Posts: 13612
Location: France
I don't understand the report, sorry. Could you post a sample code to replicate your issue ?


Top
 Profile  
Reply with quote  
 Post subject: Re: OpenWindow() and PureBasic.exe clash
PostPosted: Fri Nov 18, 2016 5:44 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Thu Jan 22, 2009 3:48 am
Posts: 596
Location: china
sorry, my bad english.
see:
http://ataorj.ys168.com
winXPcn_pbBug/openWeb.7z:
openWeb.pb
openWeb.exe
openWeb.wmv
=========winxp-sp2-32bit:
openWeb.pb:
Code:
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

_________________
my pb for chinese:
http://ataorj.ys168.com


Last edited by gurj on Fri Nov 18, 2016 6:02 pm, edited 1 time in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: OpenWindow() and PureBasic.exe clash
PostPosted: Fri Nov 18, 2016 5:47 pm 
Offline
Always Here
Always Here

Joined: Fri Oct 23, 2009 2:33 am
Posts: 5833
Location: Wales, UK
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.


Top
 Profile  
Reply with quote  
 Post subject: Re: OpenWindow() and PureBasic.exe clash
PostPosted: Thu Jan 19, 2017 10:50 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Thu Jan 22, 2009 3:48 am
Posts: 596
Location: china
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/

_________________
my pb for chinese:
http://ataorj.ys168.com


Top
 Profile  
Reply with quote  
 Post subject: Re: OpenWindow() and PureBasic.exe clash
PostPosted: Sat Jan 21, 2017 10:12 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Thu Jan 22, 2009 3:48 am
Posts: 596
Location: china
I guess PureBasic use Variables,lack protect,have hole ?...
GetProp_(GadgetID, "PB_ID") ?...

_________________
my pb for chinese:
http://ataorj.ys168.com


Top
 Profile  
Reply with quote  
 Post subject: Re: OpenWindow() and PureBasic.exe clash
PostPosted: Sun Jan 22, 2017 2:39 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Thu Jan 22, 2009 3:48 am
Posts: 596
Location: china
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.
Code:
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


Top
 Profile  
Reply with quote  
 Post subject: Re: OpenWindow() and PureBasic.exe clash
PostPosted: Wed Jan 25, 2017 7:48 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Thu Jan 22, 2009 3:48 am
Posts: 596
Location: china
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:
Code:
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

web1.pb:
Code:
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


Top
 Profile  
Reply with quote  
 Post subject: Re: maybe,WebGadget() And PureBasic.exe clash
PostPosted: Fri Jul 28, 2017 6:22 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Thu Jan 22, 2009 3:48 am
Posts: 596
Location: china
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 pb for chinese:
http://ataorj.ys168.com


Top
 Profile  
Reply with quote  
 Post subject: Re: maybe,WebGadget() And PureBasic.exe clash
PostPosted: Fri Jul 28, 2017 9:22 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Thu Jan 22, 2009 3:48 am
Posts: 596
Location: china
maybe, WebGadget and ie is ok.
pb IDE has bug.

_________________
my pb for chinese:
http://ataorj.ys168.com


Top
 Profile  
Reply with quote  
 Post subject: Re: maybe,WebGadget() And PureBasic.exe clash
PostPosted: Sat Mar 09, 2019 12:42 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Thu Jan 22, 2009 3:48 am
Posts: 596
Location: china
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


Top
 Profile  
Reply with quote  
 Post subject: Re: maybe,WebGadget() And PureBasic.exe clash
PostPosted: Tue Mar 12, 2019 11:24 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Thu Jan 22, 2009 3:48 am
Posts: 596
Location: china
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


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye