Search found 28 matches

by Boulcat
Sun Dec 03, 2023 10:43 pm
Forum: Coding Questions
Topic: Console lines and progress bar output
Replies: 2
Views: 280

Re: Console lines and progress bar output

Thank you, it seems so simple once you know the reason :oops:
by Boulcat
Sun Dec 03, 2023 7:04 pm
Forum: Coding Questions
Topic: Console lines and progress bar output
Replies: 2
Views: 280

Console lines and progress bar output

I'm trying to get the console program output with either lines or a progress bar. The goal is to monitor downloads done with aria2c - - The ultra fast download utility D:\Download\aria2c.exe --log-level=notice --log="D:\Download\Aria2c.log" -x16 -s16 --allow-overwrite=true --auto-file-rena...
by Boulcat
Wed Nov 29, 2023 11:16 am
Forum: Coding Questions
Topic: The debugging executable closes unexpectedly, what should I do?
Replies: 13
Views: 566

Re: The debugging executable closes unexpectedly, what should I do?

I don't have a thread. I've just read the help and noted that it's better to enable the compile option as soon as you use a thread, I'll try to remember. Reducing a source by dichotomy can't be really easy, procedures call each other. In my case, anyway, I can't use it because I wouldn't even know i...
by Boulcat
Tue Nov 28, 2023 6:19 pm
Forum: Coding Questions
Topic: The debugging executable closes unexpectedly, what should I do?
Replies: 13
Views: 566

Re: The debugging executable closes unexpectedly, what should I do?

Yes, I've started to write the debug output, but as I don't know if the debug window will remain open during the next crash, it's probably better to have a log file for each test in %temp%. I cross my fingers to put enough info to understand. With the debug output, I've already seen a small operatin...
by Boulcat
Tue Nov 28, 2023 3:31 pm
Forum: Coding Questions
Topic: The debugging executable closes unexpectedly, what should I do?
Replies: 13
Views: 566

Re: The debugging executable closes unexpectedly, what should I do?

Thanks for the info, I'll try your suggestions. I can't share a piece of code because I have no idea where it crashes in my 20,000 lines of code. I'd like to have some kind of explanation, so that I can reduce it while keeping the bug. The problem is that I don't even know what manipulation to do to...
by Boulcat
Tue Nov 28, 2023 12:39 pm
Forum: Coding Questions
Topic: The debugging executable closes unexpectedly, what should I do?
Replies: 13
Views: 566

The debugging executable closes unexpectedly, what should I do?

I must have a bug, I've had it before but I don't know how to reproduce it. And just now I've got again the error: "PureBasic Debugger - the debugging executable closes unexpectedly". I haven't closed it yet but I can't access the debugging tools. What can I do to get more information (pro...
by Boulcat
Mon Aug 21, 2023 12:09 am
Forum: General Discussion
Topic: Webview2 control - Chromium browser for Purebasic (Windows) [Jan 1, 2024]
Replies: 171
Views: 55492

Re: Webview2 control - Chromium browser for Purebasic (Windows)

Thanks, it now works with both x64 and x86 C Backend 8) I tried to compile libffi by following the procedure: Building and Installing libffi on Windows Download: https://proj.goldencode.com/downloads/mingw/mingw64_4.9.0_20140425.zip Extract mingw64 folder to C:\mingw64 Include C:\mingw64\bin to the ...
by Boulcat
Sat Aug 19, 2023 10:32 pm
Forum: General Discussion
Topic: Webview2 control - Chromium browser for Purebasic (Windows) [Jan 1, 2024]
Replies: 171
Views: 55492

Re: Webview2 control - Chromium browser for Purebasic (Windows)

Hi Justin, Thanks for the update, I've tried the examples and everything works fine with the C backend (Windows x64) But with the C backend (Windows x86), I get with PB 6.01 or 6.03 beta5: error: Unresolved external symbol '_GetAvailableCoreWebView2BrowserVersionString@8'. POLINK: error: Unresolved ...
by Boulcat
Thu Aug 10, 2023 10:47 pm
Forum: Coding Questions
Topic: UnNamed Enumerator Issue
Replies: 24
Views: 1160

Re: UnNamed Enumerator Issue

Same code using Enumeration name (Enumeration Windows, Enumeration Gadgets) A name can be set to identify an enumeration and allow to continue it later. It is useful to group objects altogether while declaring them in different code place. With so many windows, it would undoubtedly be easier to read...
by Boulcat
Wed Aug 09, 2023 11:41 pm
Forum: Tricks 'n' Tips
Topic: SliderGadget
Replies: 18
Views: 2125

Re: SliderGadget

Very nice On|Off button :)
Looks good by adding this, to be compatible with DPIaware compil option

Code: Select all

Width                = DesktopScaledX(GadgetWidth(Gadget))
Height               = DesktopScaledY(GadgetHeight(Gadget))
by Boulcat
Tue Aug 08, 2023 12:02 pm
Forum: Coding Questions
Topic: [solved] sqlcipher.dll problem
Replies: 23
Views: 1464

Re: [solved] sqlcipher.dll problem

UseSQLiteDatabase("myExternal.DLL") has no return value. See https://www.purebasic.com/documentation/database/usesqlitedatabase.html . In a feature request, wouldn't it be good to have a return value and a DatabaseError(), it would help here ? Isn't it possible to know if the dll is prope...
by Boulcat
Tue Aug 08, 2023 10:53 am
Forum: Coding Questions
Topic: [solved] sqlcipher.dll problem
Replies: 23
Views: 1464

Re: [solved] sqlcipher.dll problem

It may need to be reviewed? Why did you create a new Topic bug ? As for Infratec (Thanks for libcrypto-1_1-x64.dll), it works here too: I don't understand your problem on your system, it's probably unrelated to PB, I guess I'd like to understand, I try :? I've added debug almost everywhere. Can you...
by Boulcat
Mon Aug 07, 2023 12:57 pm
Forum: Coding Questions
Topic: [solved] sqlcipher.dll problem
Replies: 23
Views: 1464

Re: sqlcipher.dll problem

um, no, it doesn't work, libcrypto-1_1.dll is really required Please clear the situation. Do you mean if you include DLLs in Programs directory only? I tried this as well without success. It was in relation to your previous message I did not include libcrypto-1_1.dll anywhere in the system and it i...
by Boulcat
Mon Aug 07, 2023 10:56 am
Forum: Coding Questions
Topic: [solved] sqlcipher.dll problem
Replies: 23
Views: 1464

Re: sqlcipher.dll problem

I had encountered the same kind of problem a while ago, and solved it by adding: SetCurrentDirectory(GetPathPart(ProgramFilename())) But now, even without it, I can't reproduce! but maybe give it a try. However in the meantime I ignored PB Help information and additionally installed sqlcipher.dll in...
by Boulcat
Thu Jul 27, 2023 6:46 pm
Forum: Coding Questions
Topic: Check non-word character without a regular expression
Replies: 12
Views: 633

Re: Check non-word character without a regular expression

As much for me, I had added DisableDebugger in the main part before the loop. It works better indeed if placed at the beginning, before the RemoveNonWordChars procedure. I agree that if the first character is a non-word, all subsequent characters are written. And, as you say, it shouldn't be any fas...