Search found 175 matches

by Tristano
Wed Dec 14, 2022 8:49 am
Forum: Tricks 'n' Tips
Topic: LUA - Script with PureBasic
Replies: 22
Views: 9856

Re: LUA - Script with PureBasic

Hi, I was wondering what you would use LUA for with PureBasic? The idea of using a scripting language along with a binary program is generally to allow users to customize or extend the program via external file, which is why video games (for example) often rely on a scripting language to control se...
by Tristano
Fri Dec 18, 2020 2:52 pm
Forum: Coding Questions
Topic: Maybe a bug when print a masked signed value via debug
Replies: 1
Views: 1611

Re: Maybe a bug when print a masked signed value via debug

The debugger indeed displays inconsistent output between x86 and x64 versions (tested with PB 5.73), but only when attempting to carry out the bitwise operation within the Debug command, i.e.: Debug l & $ffffffff If instead you create a new variable to hold the manipulated result, the output is ...
by Tristano
Wed Oct 21, 2020 3:19 pm
Forum: Feature Requests and Wishlists
Topic: Scintilla Update to v3.7.6 (before migrating to v4)
Replies: 18
Views: 6183

Re: Scintilla Update to v3.7.6 (before migrating to v4)

The version included with PB right now doesn't require the DLL when compiled, because it's included as an internal library from source code. I believe it does require the DLL, because building Scintilla as a static library has always been problematic under Windows. If the program is running as expe...
by Tristano
Sun Sep 27, 2020 3:31 pm
Forum: Feature Requests and Wishlists
Topic: Scintilla Update to v3.7.6 (before migrating to v4)
Replies: 18
Views: 6183

Re: Scintilla Update to v3.7.6 (before migrating to v4)

Bummer indeed. At some point, avoiding additional runtime dependencies creates bigger problems. Using an external scintilla dll also becomes a runtime dependency. Yes, the core PB philosophy of creating binaries that don't require end users to install third party components (e.g. VS runtimes, and s...
by Tristano
Sun Sep 27, 2020 12:56 pm
Forum: Feature Requests and Wishlists
Topic: Scintilla Update to v3.7.6 (before migrating to v4)
Replies: 18
Views: 6183

Re: Scintilla Update to v3.7.6 (before migrating to v4)

An update to the newer (or at least latest 3.x) of Scintilla would be good. A lot of stuff has been fixed and some useful things added. I believe that the Scintilla component was indeed updated since this post was created, but it couldn't be updated to the latest version (in the v3 range) due to to...
by Tristano
Sat Aug 29, 2020 12:27 pm
Forum: General Discussion
Topic: SWV: A simple HTML/JS desktop GUI engine for PB
Replies: 68
Views: 23955

Re: SWV: A simple HTML/JS desktop GUI engine for PB

Actually, firace, I think that if you were to release SWV as an open source project (e.g. on GitHub) that people could use freely for non commercial project, but pay to be able to use it for commercial ones, you might find the strategy more beneficial (this is what Sciter does, for example). 1. It w...
by Tristano
Sat Aug 29, 2020 12:12 pm
Forum: General Discussion
Topic: SWV: A simple HTML/JS desktop GUI engine for PB
Replies: 68
Views: 23955

Re: SWV: A simple HTML/JS desktop GUI engine for PB

Yes this is the correct file: SWV_Demo1_native_x86.zip Check if the size of the ZIP file is 90344 bytes. If not, please clear your browser cache and try to download it again. I've downloaded it again using a different browser and now it works — you were right, I was getting a cached version, and th...
by Tristano
Fri Aug 28, 2020 10:59 pm
Forum: General Discussion
Topic: SWV: A simple HTML/JS desktop GUI engine for PB
Replies: 68
Views: 23955

Re: SWV: A simple HTML/JS desktop GUI engine for PB

I have just updated the demo and it should work on Windows 10. Could you try it again? (Note that currently, the DLL is time-limited.) I've downloaded it again, same result: I get to see the "limited demo" message, then it crashes. Is the download link correct? I'm downloading the SWV_Dem...
by Tristano
Thu Aug 27, 2020 11:45 pm
Forum: General Discussion
Topic: SWV: A simple HTML/JS desktop GUI engine for PB
Replies: 68
Views: 23955

Re: SWV: A simple HTML/JS desktop GUI engine for PB

Demo Not Working on Win 10 I've downloaded the Demo 2 and and tried it under Win10: the exe launches, hangs for a short while and then silently crashes. Tried recompiling form source using PB 5.72 32-bit: same result. Probably the issue is with the DLL itself. Issues with DLLs that suddenly stop wo...
by Tristano
Sun Aug 09, 2020 1:18 pm
Forum: Announcement
Topic: PureBasic 5.72 LTS is out !
Replies: 106
Views: 55383

Re: PureBasic 5.72 LTS Beta 1 is available !

I use JAWS screen reader, so perhaps it's doing something to the ide that it doesn't like? Btw, it would be very nice if one of the secondary compilers could be set as default, so if I use e.g., 32 bit ide and wish to compile most of my programs with the 64 bit compiler, that there was a way to set...
by Tristano
Mon Jun 22, 2020 12:07 am
Forum: Assembly and C Programming in PureBasic
Topic: How easy is to draw Sprites on Screen in Asm?
Replies: 5
Views: 12389

Re: How easy is to draw Sprites on Screen in Asm?

You might want to read Michael Abrash's Graphics Programming Black Book , which is a classic in the field of Assembly graphics: https://github.com/jagregory/abrash-black-book The book (along with another ASM book by Abrash) was republished with the author's permission. https://github.com/jagregory/a...
by Tristano
Thu May 14, 2020 11:32 pm
Forum: Bugs - IDE
Topic: [5.72 LTS] IDE not responsive
Replies: 9
Views: 7799

Re: [5.72 LTS] IDE not responsive

I haven't experience the above mentioned problems with the latest IDE release, and I also work on Win 10 x64. The fact that it's affecting some users and not others might indicate some common hardware which might be incompatible (or trig the bug) — e.g. do you work with multiple monitors? It could b...
by Tristano
Sat Apr 11, 2020 4:29 pm
Forum: Coding Questions
Topic: PB 5.72 Under Win 10: Many odd issues
Replies: 10
Views: 3108

Re: PB 5.72 Under Win 10: Many odd issues

Try classic method instead: outstr$ = "some text " + #DQUOTE$ + somefilename$ + #DQUOTE$ + Str(somevar) And for SaveDebugOutput("info.txt") I alway prefere to add full path (to avoid possible changecurentdir by other part of program) i.e Debug GetTemporaryDirectory() + "inf...
by Tristano
Sat Apr 11, 2020 8:47 am
Forum: Coding Questions
Topic: PB 5.72 Under Win 10: Many odd issues
Replies: 10
Views: 3108

Re: PB 5.72 Under Win 10: Many odd issues

Regarding the line that prevents compiling the source due to a syntax error, it's more or less like this: ElseIf somevar > somval Debug ~"some text \""+ somefilename$ +~"\""+ Str(somevar) CloseFile(somefilehandle) End #ErrorX EndIf I've changed the above code to: ElseI...
by Tristano
Sat Apr 11, 2020 8:37 am
Forum: Coding Questions
Topic: PB 5.72 Under Win 10: Many odd issues
Replies: 10
Views: 3108

Re: PB 5.72 Under Win 10: Many odd issues

I've got an update regarding one of the reported problems, and it seems that the bug is due to the IDE. The code before exiting contains a SaveDebugOutput("info.txt") command; after running the code a couple of times it starts reporting an error that it can't save the file, and closing all...