Search found 553 matches

by HanPBF
Fri Jun 13, 2025 11:05 am
Forum: General Discussion
Topic: No installation, PureBasic since 6.21, Windows 11
Replies: 10
Views: 844

Re: No installation, PureBasic since 6.21, Windows 11

Great! Could install it.
Thanks a lot !!!
by HanPBF
Wed Jun 11, 2025 2:26 pm
Forum: General Discussion
Topic: No installation, PureBasic since 6.21, Windows 11
Replies: 10
Views: 844

No installation, PureBasic since 6.21, Windows 11

Thanks a lot for the answer!

I now use PureBasic from a pre-installed folder done on another PC.
So PureBasic.exe after installation runs.
by HanPBF
Wed Jun 11, 2025 6:43 am
Forum: General Discussion
Topic: No installation, PureBasic since 6.21, Windows 11
Replies: 10
Views: 844

No installation, PureBasic since 6.21, Windows 11

I could install PureBasic up to version 6.21b9 but now the SmartScreen of Windows Defender does not allow anymore the installation.
The computer was protected by Windows. The start of an unknown app was prevented by Microsoft Defender SmartScreen.
Before this, there was a little underlined line ...
by HanPBF
Thu Jun 05, 2025 6:49 am
Forum: Announcement
Topic: PureBasic 6.21 is out !
Replies: 169
Views: 30256

PureBasic 6.21 beta 10 is out !

Thanks a lot!

I can not install the software (Win 11 64bit).

Message "security protection" occurs as usual.
But now, can not be clicked away (further information... -> run anyway) anymore.
Anyone else having this problem?

@Marc56us: thanks for the info.
I guess it's now finally blocked by IT at ...
by HanPBF
Fri Sep 13, 2024 1:11 pm
Forum: Announcement
Topic: PureBasic 6.12 LTS is out !
Replies: 92
Views: 50867

PureBasic 6.12 LTS is out !

So many bug fixes!
Keep on with the great work!
Thanks a lot!
by HanPBF
Thu Sep 12, 2024 6:47 am
Forum: Feature Requests and Wishlists
Topic: Runtime structure
Replies: 5
Views: 3797

Runtime structure

Just stepped over an older blog entry for PureBasic 5.30

To allow this, we needed to support ‘shadow parameters’ in PB function call. Basically, when we declare a command parameter as “Runtime Structure” like in InsertJSONStructure(), one hidden parameter is added to the function call to add more ...
by HanPBF
Mon Apr 01, 2024 8:38 am
Forum: General Discussion
Topic: AddElement() behaviour
Replies: 15
Views: 2483

AddElement() behaviour

Just realized the same with AddElement()... :lol:

addElement is not clear, insertElement is clear (expect before/after current element which would give a nice option).
appendElement is clear (maybe with option #PB_List_atBegin, which makes it again not clear... :D)
by HanPBF
Thu Mar 28, 2024 11:23 am
Forum: Announcement
Topic: PureBasic 6.10 LTS is out !
Replies: 344
Views: 107669

Re: PureBasic 6.10 LTS is out !

Thanks a lot!
by HanPBF
Tue Feb 27, 2024 3:03 pm
Forum: Coding Questions
Topic: [SOLVED]; WebViewGadget; Win 10 64; PB6.10b6; SetVirtualHostNameToFolderMapping
Replies: 3
Views: 729

Re: WebViewGadget; Win 10 64; PB6.10b6; SetVirtualHostNameToFolderMapping

This seems to work...

Code: Select all

Controller\get_CoreWebView2(@Core.ICoreWebView2_3)
;Core\Navigate("https://www.purebasic.com")
Core\SetVirtualHostNameToFolderMapping("localhost", "", 1)
by HanPBF
Tue Feb 27, 2024 1:51 pm
Forum: Coding Questions
Topic: [SOLVED]; WebViewGadget; Win 10 64; PB6.10b6; SetVirtualHostNameToFolderMapping
Replies: 3
Views: 729

[SOLVED]; WebViewGadget; Win 10 64; PB6.10b6; SetVirtualHostNameToFolderMapping

Ok, I found this:
WebViewExecuteScript(0, "console.log('Hello, world!')")
Controller.ICoreWebView2Controller = GetGadgetAttribute(0, #PB_WebView_ICoreController)
Controller\get_CoreWebView2(@Core.ICoreWebView2)
Core\Navigate("https://www.purebasic.com")

Which interface do I need for ...
by HanPBF
Tue Feb 27, 2024 1:07 pm
Forum: General Discussion
Topic: Borrow pointers; Memory Safety; Rust/C++;
Replies: 6
Views: 3337

Borrow pointers; Memory Safety; Rust/C++;

@mk-soft, thanks for the example to clarify things.

@tored, thanks a lot for the links and the info

What I do instead is a custom module that when in debug mode tracks memory allocations, file handlers, etc and reports if anything is still open when the application closes, primitive but works ...
by HanPBF
Tue Feb 27, 2024 12:56 pm
Forum: Coding Questions
Topic: PB 6.10b6; Win64; SQlite; ICU or load_extension;
Replies: 12
Views: 1426

Re: PB 6.10b6; Win64; SQlite; ICU or load_extension;

At the moment I analyze millions of words of my data and put all words existing in a table.
So, only comparing direct chars - as they are written.

Problem not solved but eliminated...

Well, what's the point in software development if you never explore something new?
I explore the basic theories ...
by HanPBF
Tue Feb 27, 2024 10:10 am
Forum: Coding Questions
Topic: PB 6.10b6; Win64; SQlite; ICU or load_extension;
Replies: 12
Views: 1426

PB 6.10b6; Win64; SQlite; ICU or load_extension;

No, I say, I am not able to dive into the MinGW and "oh, and You have also to do..." world of this non trivial software.

I don't need PureBasic as C with another syntax.
That's not the idea, is it?
by HanPBF
Tue Feb 27, 2024 10:08 am
Forum: General Discussion
Topic: Borrow pointers; Memory Safety; Rust/C++;
Replies: 6
Views: 3337

Borrow pointers; Memory Safety; Rust/C++;

Bjarne Stroustrup explained in a presentation how C++ gets memory safe when using a borrowing like concept as in Rust.
He also said, that beyond memory safety also files, etc. must be closed and tidied up. So garbage collection does not help here.

How would I use PureBasic pointers to stuctures or ...