Search found 546 matches
- Thu Mar 28, 2024 11:23 am
- Forum: Announcement
- Topic: PureBasic 6.10 LTS is out !
- Replies: 278
- Views: 35916
Re: PureBasic 6.10 LTS is out !
Thanks a lot!
- Tue Feb 27, 2024 3:32 pm
- Forum: Coding Questions
- Topic: [SOLVED]; WebViewGadget; Win 10 64; PB6.10b6; SetVirtualHostNameToFolderMapping
- Replies: 3
- Views: 191
Re: WebViewGadget; Win 10 64; PB6.10b6; SetVirtualHostNameToFolderMapping
Thanks a lot for the example!
- Tue Feb 27, 2024 3:03 pm
- Forum: Coding Questions
- Topic: [SOLVED]; WebViewGadget; Win 10 64; PB6.10b6; SetVirtualHostNameToFolderMapping
- Replies: 3
- Views: 191
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)
- Tue Feb 27, 2024 1:51 pm
- Forum: Coding Questions
- Topic: [SOLVED]; WebViewGadget; Win 10 64; PB6.10b6; SetVirtualHostNameToFolderMapping
- Replies: 3
- Views: 191
[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 ...
- Tue Feb 27, 2024 1:07 pm
- Forum: General Discussion
- Topic: Borrow pointers; Memory Safety; Rust/C++;
- Replies: 6
- Views: 373
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 well. ...
- Tue Feb 27, 2024 12:56 pm
- Forum: Coding Questions
- Topic: PB 6.10b6; Win64; SQlite; ICU or load_extension;
- Replies: 12
- Views: 501
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 and ...
- Tue Feb 27, 2024 10:10 am
- Forum: Coding Questions
- Topic: PB 6.10b6; Win64; SQlite; ICU or load_extension;
- Replies: 12
- Views: 501
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?
I don't need PureBasic as C with another syntax.
That's not the idea, is it?
- Tue Feb 27, 2024 10:08 am
- Forum: General Discussion
- Topic: Borrow pointers; Memory Safety; Rust/C++;
- Replies: 6
- Views: 373
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 m...
- Mon Feb 26, 2024 10:16 am
- Forum: Coding Questions
- Topic: PB 6.10b6; Win64; SQlite; ICU or load_extension;
- Replies: 12
- Views: 501
PB 6.10b6; Win64; SQlite; ICU or load_extension;
A disadvantage in using registered functions is the missing index availability - index is not allowed for those kind of functions. So compiling an own version of SQLite.dll would be better - something I don't want to do at all. The best chance to clean up all of this is to replace all the special ch...
- Sun Feb 25, 2024 12:47 pm
- Forum: Coding Questions
- Topic: PB 6.10b6; Win64; SQlite; ICU or load_extension;
- Replies: 12
- Views: 501
PB 6.10b6; Win64; SQlite; ICU or load_extension;
@mk-soft I had to copy'n'paste Your code to get the solution... so much work... :D Why does ImportC "" after UseSQLiteDatabase() work? Is it exactly what PureBasic does internally? Loading the library SQLite3.lib and ImportC "" uses that last one? Thanks a lot for Your help! Than...
- Sun Feb 25, 2024 10:48 am
- Forum: Coding Questions
- Topic: PB 6.10b6; Win64; SQlite; ICU or load_extension;
- Replies: 12
- Views: 501
PB 6.10b6; Win64; SQlite; ICU or load_extension;
Thanks a lot for the info!
At least, I can use SQLite natively from PureBasic and enable loading of extension.
But, this is too much work.
Could PureBasic enable load_extension by default so "select load_extension(...)" can be used?
At least, I can use SQLite natively from PureBasic and enable loading of extension.
But, this is too much work.
Could PureBasic enable load_extension by default so "select load_extension(...)" can be used?
- Sun Feb 25, 2024 8:15 am
- Forum: Coding Questions
- Topic: PB 6.10b6; Win64; SQlite; ICU or load_extension;
- Replies: 12
- Views: 501
PB 6.10b6; Win64; SQlite; ICU or load_extension;
Is load_extension enabled in SQLite for PureBasic?
Is ICU extension available so lower('ÄÖÜ') gets 'äöü'?
Thanks in advance
Is ICU extension available so lower('ÄÖÜ') gets 'äöü'?
Thanks in advance
- Sun Dec 24, 2023 5:14 pm
- Forum: Announcement
- Topic: PureBasic 6.10 LTS is out !
- Replies: 278
- Views: 35916
Re: PureBasic 6.10 beta 1 - Xmas Release - is out !
Meanwhile...
Code: Select all
SetGadgetText(4, ~"<script>window.location='" + #URL + "';</script>")
- Sat Dec 23, 2023 1:08 pm
- Forum: Announcement
- Topic: PureBasic 6.10 LTS is out !
- Replies: 278
- Views: 35916
Re: PureBasic 6.10 beta 1 - Xmas Release - is out !
Anybody checked #PB_EventType_ColumnClick?
I can not find it in 6.10b1.
EventType() gives 8, I guess for click in header
I can not find it in 6.10b1.
EventType() gives 8, I guess for click in header
- Sat Dec 23, 2023 10:11 am
- Forum: General Discussion
- Topic: Webview2 control - Chromium browser for Purebasic (Windows) [Jan 1, 2024]
- Replies: 171
- Views: 53943
Re: Webview2 control - Chromium browser for Purebasic (Windows)
Hello Justin, as new WebViewGadget with WebView2 is available in 6.10b1, is there an interface behind GadgetId(MyWebViewGadget)? Maybe ICoreWebView2? Did not try it and I don't know if it is the intention to simple use Your code. So, some functions yet can be used like opening the developer tools? b...