Search found 162 matches

by highend
Mon Sep 01, 2025 6:23 pm
Forum: Coding Questions
Topic: Strange outpug from debug?
Replies: 16
Views: 948

Re: Strange outpug from debug?

Thanks all!

In the end it was a "61 3F" instead of a "E4 00"... The file was send from a company located in Switzerland and they aren't really known for their usage of german special chars^^
by highend
Mon Sep 01, 2025 1:25 pm
Forum: Coding Questions
Topic: Strange outpug from debug?
Replies: 16
Views: 948

Re: Strange outpug from debug?

Just a guess: Did you copy the path from somewhere into the clipboard and paste it into the IDE? What happens when you type
The guess is correct...

When I copy your "äöüÄÖÜ" here from the forum into the IDE, the output is correct, when I do the same with the path I posted, it is shown correctly ...
by highend
Mon Sep 01, 2025 1:11 pm
Forum: Coding Questions
Topic: Strange outpug from debug?
Replies: 16
Views: 948

Re: Strange outpug from debug?

Image

When I change it to "String View (Unicode)" the output is correct (as well in Hex View)^^
by highend
Mon Sep 01, 2025 1:03 pm
Forum: Coding Questions
Topic: Strange outpug from debug?
Replies: 16
Views: 948

Re: Strange outpug from debug?

Still the same output :oops:

Image
by highend
Mon Sep 01, 2025 12:55 pm
Forum: Coding Questions
Topic: Strange outpug from debug?
Replies: 16
Views: 948

Re: Strange outpug from debug?

What language is used for the IDE? In my case it is german.

And in settings, what is your font for the debug window? I use consolas west

My IDE is set to english and the (custom) font used for the debug window is Consolas (which never had issues to display german special chars). Changing it to ...
by highend
Mon Sep 01, 2025 12:42 pm
Forum: Coding Questions
Topic: Strange outpug from debug?
Replies: 16
Views: 948

Re: Strange outpug from debug?

No it doesn't :mrgreen:

The string to output contains "ä" but the output doesn't display an "ä" but an "a" followed by an "n" with some dots above it
by highend
Mon Sep 01, 2025 12:11 pm
Forum: Coding Questions
Topic: Strange outpug from debug?
Replies: 16
Views: 948

Strange outpug from debug?

Hi,

something's very odd atm...

PureBasic v6.21 x64 (IDE), Compiler: v6.04 LTS x64

Code:

Code: Select all

Debug "D:\250807_Analyse_Bereinigung_Pfadlängen_Files.txt"
The .pb file is UTF-8 with BOM.

I get this output:
Image

Why is that?
by highend
Tue Jul 15, 2025 1:05 pm
Forum: Windows
Topic: COM interface: IFileOperation - Example?
Replies: 2
Views: 1202

Re: COM interface: IFileOperation - Example?

@Thorium
Thanks for the hint but this won't be an option for me (even if it would work)

Why?
Adding the necessary manifest to my .exe isn't the problem but setting the registry value for
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem LongPathsEnabled
is something that can't be done ...
by highend
Tue Jul 15, 2025 11:30 am
Forum: Windows
Topic: COM interface: IFileOperation - Example?
Replies: 2
Views: 1202

COM interface: IFileOperation - Example?

I want to move a folder from one volume to another volume into an overlong path (on Windows).

MoveFileEx_
and
SHFileOperation_
can't do this unfortunately.

MoveFileEx_ can move files cross-volume (even into overlong paths) but fails to do this with folders.
SHFileOperation_ can move even ...
by highend
Mon Jul 14, 2025 8:40 pm
Forum: Feature Requests and Wishlists
Topic: Constant missing: #MOVEFILE_WRITE_THROUGH
Replies: 2
Views: 926

Constant missing: #MOVEFILE_WRITE_THROUGH

Could you add it please?

The integer value of it is 8.

It's used e.g. by

Code: Select all

MoveFileEx()
by highend
Sat Jul 05, 2025 10:15 pm
Forum: Coding Questions
Topic: Replace text in .pdf file?
Replies: 15
Views: 4183

Re: Replace text in .pdf file?

@infratec It seems she's not looking for (another) Desktop app to create / fill a form but a tool that allows to automate the whole process via command line interface (and still creates a 100% reproducible output even with non-standard fonts)?
by highend
Fri Feb 07, 2025 1:49 pm
Forum: Coding Questions
Topic: Export binary from datasection as file?
Replies: 3
Views: 1037

Re: Export binary from datasection as file?

Thank you, NicTheQuick!

I'll rewrite my datasection(s) then and yes, it absolutely makes sense that the label isn't a string anymore at compile time... :mrgreen:

Regards,
highend
by highend
Fri Feb 07, 2025 12:19 pm
Forum: Coding Questions
Topic: Export binary from datasection as file?
Replies: 3
Views: 1037

Export binary from datasection as file?

Hi.

My datasection(s) are all defined like this:

DataSection
RustDesk_Client:
IncludeBinary "..\#includes_files\rustdesk-1.3.7-x86_64.exe"
Data.c 0 ; Add a terminating null-character

RustDesk_Toml:
IncludeBinary "..\#includes_files\RustDesk.toml"
Data.c 0

RustDesk_Toml2:
IncludeBinary ...
by highend
Fri Dec 20, 2024 12:51 pm
Forum: Coding Questions
Topic: Replace text in .pdf file?
Replies: 15
Views: 4183

Re: Replace text in .pdf file?

Thank you, Axolotl!

I've tried to modify it via Python and PyMuPDF and in general, it works...

The problem: It uses e.g. a different font than the one that is used on that line where the replacement happens (and the font is in the .pdf file and additionally installed on the computer where I've ...