Search found 541 matches

by Marco2007
Wed Jun 11, 2025 2:44 pm
Forum: Announcement
Topic: PureBasic 6.21 is out !
Replies: 169
Views: 30223

Re: PureBasic 6.21 is out !

Thank you, Fantaisie Software – PureBasic 6.21 is a rock-solid release with tons of important fixes. Great job!
by Marco2007
Wed Jun 11, 2025 2:42 pm
Forum: Bugs - Windows
Topic: BUG-v621 WebViewGadget example code crashes on Windows 11
Replies: 9
Views: 2201

Re: BUG-v621b8 WebViewGadget example code crashes on Windows 11

6.21 final -> no crash here:
Windows 11 Pro 64 bit, 24H2 - 26100.4349
by Marco2007
Sat Aug 24, 2024 10:08 am
Forum: Coding Questions
Topic: UseMySQLDatabase() Failure
Replies: 12
Views: 2640

Re: UseMySQLDatabase() Failure

Which version?

No problems here with PB 6.10 or 6.11 (both x64).
by Marco2007
Wed Aug 14, 2024 9:16 pm
Forum: Coding Questions
Topic: Webview example crashes debugger
Replies: 8
Views: 2659

Re: Webview example crashes debugger

Sorry, I meant "forbidden for Defender". I don't know which folders are not allowed.
The %temp% folder definitely causes problems.

This example with "Create temporary exe in source directory" checkbox unchecked -> Debugger crash (due to Defender)
For i=1 To 10
Debug "ok"
Delay(160)
If ...
by Marco2007
Sat Aug 03, 2024 9:08 am
Forum: Coding Questions
Topic: Webview example crashes debugger
Replies: 8
Views: 2659

Re: Webview example crashes debugger

I just know "The debugger executable quit unexpectedly", when using a wrong folder for creating the compilation exe and/or a virus scanner (e. g. Defender) is blocking the debugger. 🤔
by Marco2007
Fri Jun 07, 2024 9:59 pm
Forum: Announcement
Topic: PureBasic 6.11 LTS is out !
Replies: 70
Views: 39943

Re: PureBasic 6.11 LTS is out !

Thank you! 🥳🥳🥳
by Marco2007
Sat May 25, 2024 7:38 am
Forum: Coding Questions
Topic: When writing a DLL, all the code is done inside procedures.
Replies: 4
Views: 647

Re: When writing a DLL, all the code is done inside procedures.

Yes, I was just unsure, if code outside call() ist allowed, when it's in another procedure. 😊👍
by Marco2007
Fri May 24, 2024 10:00 pm
Forum: Coding Questions
Topic: When writing a DLL, all the code is done inside procedures.
Replies: 4
Views: 647

When writing a DLL, all the code is done inside procedures.

Hello everyone,

is this allowed?
;PureBasic.dll
ProcedureDLL test()
;do something
EndProcedure

ProcedureDLL call()
;do someehing and call
test()
EndProcedure


If OpenLibrary(0, "PureBasic.dll")
CallFunction(0, "call")
CloseLibrary(0)
EndIf

It works, but I don't know, if there could be ...
by Marco2007
Fri Mar 29, 2024 7:21 am
Forum: Announcement
Topic: PureBasic 6.10 LTS is out !
Replies: 344
Views: 107621

Re: PureBasic 6.10 LTS is out !

😍😍

Thx! 🥳🥳🥳
by Marco2007
Thu Mar 14, 2024 10:27 am
Forum: Coding Questions
Topic: WebViewGadget: SetGadgetText is not displaying content
Replies: 5
Views: 728

Re: WebViewGadget: SetGadgetText is not displaying content

Hmmm ... thx! 😊

The strange thing with the code I'm using: The first one will be displayed and the second one not ... 😤
I thought, I could demostrate the issue with the code above, but your explanation sounds plausible.
by Marco2007
Thu Mar 14, 2024 9:29 am
Forum: Coding Questions
Topic: WebViewGadget: SetGadgetText is not displaying content
Replies: 5
Views: 728

Re: WebViewGadget: SetGadgetText is not displaying content

Delay is just instead of a procedure to demonstrate. I do have problems doing this (without delay).

Another demo:
Procedure test()
For i=1 To 200000000
Next
EndProcedure

If OpenWindow(0, 200, 200, 800, 840, "")
ButtonGadget(0, 0, 0, 200, 40, "Press")
WebViewGadget(1, 0, 40, 800, 800 ...
by Marco2007
Thu Mar 14, 2024 9:05 am
Forum: Coding Questions
Topic: WebViewGadget: SetGadgetText is not displaying content
Replies: 5
Views: 728

WebViewGadget: SetGadgetText is not displaying content

Hello everyone,

maybe a stupid question: Why isn't purebasic.com displayed, after pressing the button?

This is just a demo code:
If OpenWindow(0, 200, 200, 800, 840, "")
ButtonGadget(0, 0, 0, 200, 40, "Press")
WebViewGadget(1, 0, 40, 800, 800)
SetGadgetText(1, "http://www.google.com")
EndIf ...
by Marco2007
Wed Feb 21, 2024 8:00 pm
Forum: Coding Questions
Topic: StrD and Rounding
Replies: 17
Views: 2993

Re: StrD and Rounding

STARGÅTE wrote: Tue Feb 20, 2024 9:09 pm

Code: Select all

Define Val.d = 0.4

For n = 1 To 35
	Debug StrD(Val)
	Val = 3*Val - 0.8  ; 3*0.4 - 0.8 = 1.2 - 0.8 = 0.4
Next
The calculation drifts away, because 0.4 as well as 0.8 cannot be represented in binary format and the error potentiates each time.
😳😳😳
by Marco2007
Tue Feb 20, 2024 5:03 pm
Forum: Coding Questions
Topic: ODBC connections and DatabaseColumnType()
Replies: 4
Views: 1077

Re: ODBC connections and DatabaseColumnType()

Do you mean the last column?

I think, you need to do this:

Code: Select all

For loop_count = 0 To column_count-1