Search found 89 matches

by nalor
Sat Mar 29, 2025 11:59 pm
Forum: Tricks 'n' Tips
Topic: Optical Drive Info
Replies: 2
Views: 1684

Re: Optical Drive Info

Hello @doctorized - I just stumbled across your historical post because I'm also questioning myself, why my DeviceIoControl_/#IOCTL_SCSI_PASS_THROUGH code is not working as x64 executeable.
I'd love to check your code - maybe it helps me to find my error.

It seems your website does not exist any ...
by nalor
Sun Aug 25, 2024 10:41 pm
Forum: Coding Questions
Topic: Packer - error with files >4GB size
Replies: 5
Views: 2592

Re: Packer - error with files >4GB size

Created a bug report for the problem:

https://www.purebasic.fr/english/viewtopic.php?t=85194
by nalor
Sat Aug 17, 2024 10:43 pm
Forum: Coding Questions
Topic: Packer - error with files >4GB size
Replies: 5
Views: 2592

Re: Packer - 2GB size limit for all plugins

Maybe it's a 4GB problem :D


1GB file -> 1GB packed file
2GB file -> 2GB packed file
3GB file -> 3GB packed file
4GB file -> 0 byte packed file ??
5GB file -> 1GB packed file
6GB file -> 2GB packed file
7GB file -> 3GB packed file
8GB file -> 0 byte packed file ????


And when I create a ...
by nalor
Sat Aug 17, 2024 10:35 pm
Forum: Coding Questions
Topic: Packer - error with files >4GB size
Replies: 5
Views: 2592

Re: Packer - 2GB size limit for all plugins

Here's a small example which shows my problem:


Creates a 15GB file
creates a new pack
adds the 15gb file
closes the pack and reopens it (else I get an error during execution)
examines the pack and the added file is only 3gb in size?


Please adjust the filenames before executing.

The ...
by nalor
Sun Aug 11, 2024 7:08 pm
Forum: Coding Questions
Topic: Packer - error with files >4GB size
Replies: 5
Views: 2592

Packer - error with files >4GB size

Hi!
(UPDATE: changed the title as it better shows the findings)

I just want to clarify if I'm doing something wrong of if really all plugins are limited to 2GB source file size.

I tried it with:

BriefLZ
TAR
LZMA
ZIP


And none of them is able to compress files >2GB.

The ZIP plugin mentions ...
by nalor
Sun Aug 09, 2020 7:10 pm
Forum: Windows
Topic: GetFileDate returns wrong time after DaylightSaving change
Replies: 23
Views: 11644

Re: GetFileDate returns wrong time after DaylightSaving chan

Does anyone know how to change the code from the first post so that it works for folders instead of files?

I haven't tried - but I think it should with folders out of the box - simply because the windows api command 'getfiledate' is also designed to work with folders:

https://docs.microsoft.com ...
by nalor
Wed May 20, 2020 9:30 pm
Forum: Coding Questions
Topic: PB5.72 - New HTTP feature to read headers not working
Replies: 5
Views: 1846

Re: PB5.72 - New HTTP feature to read headers not working

Thanks for the help! Didn't notice this small detail ...

Problem solved :)
by nalor
Tue May 19, 2020 11:14 pm
Forum: Coding Questions
Topic: PB5.72 - New HTTP feature to read headers not working
Replies: 5
Views: 1846

Re: PB5.72 - New HTTP feature to read headers not working

But I don't want the data in my example - all I want is the headers ... to read the contentsize from it and calculate the progress during the async download.
(I know in my example the data is just buffered and finally lost because it's never read from the buffer - but I only care about 'HTTInfo ...
by nalor
Tue May 19, 2020 10:29 pm
Forum: Coding Questions
Topic: PB5.72 - New HTTP feature to read headers not working
Replies: 5
Views: 1846

PB5.72 - New HTTP feature to read headers not working

Hi!
Please help me - I can't figure out how to use the new feature to get the http headers.

Here's my example:

EnableExplicit

Define sUrl.s="https://www.purebasic.com/download/PureBasic_Demo.zip"
Define iConn.i
Define iProgress.i

InitNetwork()

iConn=ReceiveHTTPMemory(sUrl, #PB_HTTP ...
by nalor
Fri Mar 27, 2020 1:28 am
Forum: General Discussion
Topic: ProSilver style's "Select All" stopped working
Replies: 12
Views: 6107

Re: ProSilver style's "Select All" stopped working

It's still broken ...

The only browser where it's working correctly is the old IE11, in Firefox, Chrome and the new Edge it's not working :(
by nalor
Fri Mar 27, 2020 1:12 am
Forum: Coding Questions
Topic: how can i get a % of download from ReceiveHTTPFile ?
Replies: 6
Views: 2416

Re: how can i get a % of download from ReceiveHTTPFile ?

djes wrote:I think this info should be returned somehow by ReceiveHTTPFile() to avoid duplicate http request.
I fully agree - any ideas how to access the header fields of the transfer started by ReceiveHTTPFile ?
by nalor
Sun Dec 15, 2019 3:51 pm
Forum: Tricks 'n' Tips
Topic: Libsodium with Purebasic
Replies: 1
Views: 1643

Libsodium with Purebasic

Hi!
In 2017 I've started to use libsodium ( https://www.libsodium.org ) for security features in one of my applications.

2 days ago I noticed that I cannot compile my old application with the x64 compiler because of sodium and updated the libraries to the most recent version 1.0.18 and added x64 ...
by nalor
Sat Oct 13, 2018 2:16 pm
Forum: Feature Requests and Wishlists
Topic: Bring debug window to front after execution
Replies: 7
Views: 2465

Re: Bring debug window to front after execution

Just try yourself:


debug random(100)


and execute it:
# the debug window will open
# display the expected output
# the execution ends
# and the main-editor window will come to front again - hiding the debug-window

The setting 'Keep all debugger windows on top' keeps them on top all the time ...
by nalor
Sat Oct 13, 2018 12:18 pm
Forum: Feature Requests and Wishlists
Topic: Bring debug window to front after execution
Replies: 7
Views: 2465

Re: Bring debug window to front after execution

Unfortunately none of this options is really satisfying:


Redirect to error log
Is a workaround, but personally I like the debug window :)
IDE setting to open the Debug Output window when your app starts
This does not change anything when the execution ends - the main purebasic still get's the ...
by nalor
Fri Oct 12, 2018 11:41 pm
Forum: Feature Requests and Wishlists
Topic: Bring debug window to front after execution
Replies: 7
Views: 2465

Bring debug window to front after execution

Hi!

Something that I would really appreciate:

A setting to bring the debug window to front after execution.

I know there's a setting to "Keep all debugger windows on top", but this is not what I want. On a computer with just 1 one screen this does not make sense because the debug windows would be ...