Search found 1252 matches

by Thorium
Tue Jul 15, 2025 12:24 pm
Forum: Windows
Topic: COM interface: IFileOperation - Example?
Replies: 2
Views: 317

Re: COM interface: IFileOperation - Example?

Here are some interessting information: https://learn.microsoft.com/en-us/windo ... limitation

It says in Windows 10 most API functions are updated to work with long path but you have to set longPathAware in the manifest of your application.
by Thorium
Sat Jul 12, 2025 10:44 am
Forum: General Discussion
Topic: Build a text editor
Replies: 35
Views: 1733

Re: Build a text editor

HeX0R wrote: Sat Jul 12, 2025 8:57 am Do you know PBEdit from Mr.L?
I didn't knew that. Could have saved me a ton of work. :D
by Thorium
Wed Jul 09, 2025 11:13 am
Forum: General Discussion
Topic: Build a text editor
Replies: 35
Views: 1733

Re: Build a text editor

Here is a screenshot of it.
As you can see i took inspiration from PureBasic for the coloring, etc. But this is not Scintilla, it's made from scratch with PB 2D drawing. And lots of code to handle all basic editing functions.

Image
by Thorium
Wed Jul 09, 2025 11:04 am
Forum: General Discussion
Topic: Build a text editor
Replies: 35
Views: 1733

Re: Build a text editor

A text editor from scratch is actually a side project i work on currently.

It's specifically for coding and even more specifically for G-Code with Sinumerik extension. As many editors struggle with this.
First i wanted to use Scintilla but it was kind of confusing to me and i thought i could write ...
by Thorium
Wed Jul 09, 2025 6:05 am
Forum: Feature Requests and Wishlists
Topic: Packer should return progress
Replies: 13
Views: 749

Re: Packer should return progress

acreis wrote: Thu Jul 03, 2025 5:00 pm Hi Thorium, what is the alternative to packer lib?
Using the compressions libs directly like XZ Utils for LZMA.
by Thorium
Thu Jul 03, 2025 3:32 pm
Forum: Feature Requests and Wishlists
Topic: Packer should return progress
Replies: 13
Views: 749

Re: Packer should return progress

The main reason i don't use the packer lib at all anymore.
This is also possible without a separate thread via callback.
by Thorium
Thu Jun 26, 2025 10:28 am
Forum: Bugs - IDE
Topic: PB 6.03 - Win X64 - Stuck highlighting.
Replies: 18
Views: 3541

Re: PB 6.03 - Win X64 - Stuck highlighting.

pjay wrote: Thu Jun 26, 2025 9:05 am Interesting - What IDE version are you using?

I just tried it using the /portable switch (so a vanilla setup) and it still did it.
PB 6.21 Windows x64
by Thorium
Thu Jun 26, 2025 8:47 am
Forum: Feature Requests and Wishlists
Topic: #PB_HTTP_NoSSLCheck for ReceiveHTTPFile
Replies: 1
Views: 165

#PB_HTTP_NoSSLCheck for ReceiveHTTPFile

Not sure if it is a bug report or a feature request.
Seems like #PB_HTTP_NoSSLCheck has been forgotten to add to ReceiveHTTPFile.
It is available for HTTPRequest, so makes sense to have the same option on ReceiveHTTPFile.
by Thorium
Thu Jun 26, 2025 8:33 am
Forum: Bugs - IDE
Topic: PB 6.03 - Win X64 - Stuck highlighting.
Replies: 18
Views: 3541

Re: PB 6.03 - Win X64 - Stuck highlighting.


A reproducable example [Win x64, PB v6+] - this one occurred when porting some C code across - it has been stripped down to bare minimum.

The code needs to be copied & pasted in its entirety into notepad & saved as a .pb file - load the file into the PB IDE and follow the steps shown on lines 17 ...
by Thorium
Thu Jun 26, 2025 12:41 am
Forum: Bugs - IDE
Topic: Weird highlight after select
Replies: 12
Views: 994

Re: Weird highlight after select

This has happened a few times to me. Could never reproduce it. I suspected it has something to do with highlighting selected words and multiple files open.
by Thorium
Mon Jun 23, 2025 2:08 am
Forum: Off Topic
Topic: Restricted Area
Replies: 6
Views: 3723

Re: Restricted Area


Someone posted on here saying "The creator is on these forums, ask him to update it", but then deleted their post a week or two later. I wonder if the creator saw that and were like "Nah, don't get me involved in this"... If that's the case... Come on, this is like abandoning a child :P (no I'm ...
by Thorium
Sat Jun 14, 2025 3:11 pm
Forum: Coding Questions
Topic: Can GetDatabaseString() be called more than once?
Replies: 5
Views: 615

Re: Can GetDatabaseString() be called more than once?

I use Postgres every time i need a DB with PureBasic.
Works very well. Much better than ODBC.

There are a lot of things that work with Postgres which may be not obvious.
For example you can do UPDATE with QueryDatabase (not UpdateDatabase) and use RETURNS to get data about the modified entries ...
by Thorium
Sat Jun 14, 2025 1:16 pm
Forum: Off Topic
Topic: Restricted Area
Replies: 6
Views: 3723

Re: Restricted Area


Greetings,

Having spent a lot of time trying to get this game to run, I'm glad to have found your thread. An unlikely place, but it apparently makes sense :D I never considered what language was the game written in.

Here's a few comments/issues:

There is no official EN Patch 1.10 as far as I ...
by Thorium
Sat Mar 22, 2025 1:19 pm
Forum: Bugs - C backend
Topic: OnErrorCall not working
Replies: 7
Views: 8110

Re: OnErrorCall not working

OnErrorGoto also does not work under c x64 backend.
by Thorium
Wed Mar 05, 2025 4:14 pm
Forum: Coding Questions
Topic: ReceiveHTTPMemory
Replies: 11
Views: 1098

Re: ReceiveHTTPMemory


But that is not the problem, the If *Buffer always fires even if the file is not found.... normally the ]Buffer should be 0


It is correct that it is not 0. The server is sending back a HTML file to display the error message on a browser. That is typical behavior of web servers as they expect a ...