Page 1 of 1

Test PB 5.73x64 over Windows11

Posted: Sat Oct 23, 2021 12:00 pm
by minimy
Hello, idk if this can be intersting for any.. i have installed windows 11 with PB5.73 x64 and work really good at the moment.
I try with canvas, networks, sounds and other things, with result positive, all woork as espected.
We need in PB6 this #PB_OS_Windows_Windows11 :mrgreen:

Personal opinion about 11:
Windows11 is not bad. As allways a lot of programas you never goes to use.
Because all computer now comes with last windows, the option is only one.. if you are programmer, developer, student.. install windows 11 in one machine to test your programas in a real environment..
Whats the next?? Windows 'millenians' (gta included) ? :lol:

PB question under my ignorance: :?
If PB use as webgadget Explorer, PB now use Edge?, because windows 11 have no explorer.
Then why i have the message 'script error' when use javascript?

try the example included and you will see.

Code: Select all

  Procedure NavigationCallback(Gadget, Url$) ;Windows only
    If Url$= "https://www.purebasic.com/news.php" 
      MessageRequester("", "No news today!") 
      ProcedureReturn #False 
    Else 
      ProcedureReturn #True 
    EndIf 
  EndProcedure 
  
  If OpenWindow(0, 0, 0, 600, 300, "WebGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered) 
    WebGadget(0, 10, 10, 580, 280, "https://www.purebasic.com") 
    SetGadgetAttribute(0, #PB_Web_NavigationCallback, @NavigationCallback())
    Repeat 
    Until WaitWindowEvent() = #PB_Event_CloseWindow 
  EndIf

Greetings and have nice day!!

I7-10700 1650GTX 16Gb RAM

Re: Test PB 5.73x64 over Windows11

Posted: Sat Oct 23, 2021 12:17 pm
by STARGĂ…TE
The WebGadget neither uses the "Internet Explorer" nor "Edge", the WebGadget uses in Windows allways an outdated "Internet Explorer 4.0+ ActiveX Objekt", as it es written in the documentation. The WebGadget is not "connected" to a browser.

Re: Test PB 5.73x64 over Windows11

Posted: Sat Oct 23, 2021 1:25 pm
by minimy
Thanks Stargate, yes is true i was reading it now in my search for a solution. lol.
Then is time for update.

Thanks for help, have nice day!

Re: Test PB 5.73x64 over Windows11

Posted: Sat Oct 23, 2021 1:40 pm
by mk-soft
According to ProcessExplorer, 'ieframe.dll' and 'jscript9.dll' are used.

With windows 10 there is also a script error too.