Search found 17 matches
- Fri Sep 13, 2024 6:38 pm
- Forum: Announcement
- Topic: PureBasic 6.12 LTS is out !
- Replies: 92
- Views: 50871
Re: PureBasic 6.12 LTS is out !
Thank you Fred and PB team
- Fri Sep 13, 2024 6:20 pm
- Forum: Coding Questions
- Topic: [Solved] PB 6.12 b1 An error occurred when using UncompressPackMemory or UncompressPackFile to decompress a zip archive
- Replies: 3
- Views: 2338
Re: PB 6.12 b1 An error occurred when using UncompressPackMemory or UncompressPackFile to decompress a zip archive
After repeated tests and careful reading of the help file, because the Windows system code page of my computer is not the default English (ASCII) encoding, but the default encoding (unicode) of pb. The Chinese file encoding in the compressed package created by 7zip or winrar uses the system code ...
- Wed Aug 28, 2024 2:09 pm
- Forum: Coding Questions
- Topic: pb6.12b3 Not sure if it is a peeks bug?
- Replies: 14
- Views: 2628
Re: pb6.12b3 Not sure if it is a peeks bug?
Limit String does not mean that String can be infinitely large. A contiguous memory must be provided by the operating system for this. This cannot always be successful if there is not enough contiguous memory available.
This is not a bug of Purebasic.
You should also not work with such large ...
- Wed Aug 28, 2024 10:26 am
- Forum: Coding Questions
- Topic: pb6.12b3 Not sure if it is a peeks bug?
- Replies: 14
- Views: 2628
Re: pb6.12b3 Not sure if it is a peeks bug?
With this line:
filetext$ = PeekS(*UnpackID, Result, #PB_UTF8|#PB_ByteLength)
It works with PB 6.11 x86 on Wind10 x64.
Hint:
The filename LargeDocument.docx needs to be inside AllResults-v2.txt
I tried inserting a line
filetext$ = space(Result)
before the code
filetext$ = PeekS ...
- Tue Aug 27, 2024 8:17 am
- Forum: Coding Questions
- Topic: pb6.12b3 Not sure if it is a peeks bug?
- Replies: 14
- Views: 2628
Re: pb6.12b3 Not sure if it is a peeks bug?
With this line:
filetext$ = PeekS(*UnpackID, Result, #PB_UTF8|#PB_ByteLength)
It works with PB 6.11 x86 on Wind10 x64.
Hint:
The filename LargeDocument.docx needs to be inside AllResults-v2.txt
AllResults-v2.txt is a list of the absolute paths of all DOCX files on my computer, encoded in utf ...
- Mon Aug 26, 2024 4:37 pm
- Forum: Coding Questions
- Topic: pb6.12b3 Not sure if it is a peeks bug?
- Replies: 14
- Views: 2628
Re: pb6.12b3 Not sure if it is a peeks bug?
I try modified
, The problem was not resolved.filetext$ = PeekS(*UnpackID, Result, #PB_UTF8 | #PB_ByteLength)
- Mon Aug 26, 2024 4:21 pm
- Forum: Coding Questions
- Topic: pb6.12b3 Not sure if it is a peeks bug?
- Replies: 14
- Views: 2628
Re: pb6.12b3 Not sure if it is a peeks bug?
Ok, two things:
First, we can't really reproduce this without the original files.
Second, if it's not confirmed as a bug, then post it somewhere else, not the bug section. It can be moved there later by an admin, after confirmation.
I don't know how to upload the original DOCX file to the forum ...
- Mon Aug 26, 2024 3:46 pm
- Forum: Coding Questions
- Topic: pb6.12b3 Not sure if it is a peeks bug?
- Replies: 14
- Views: 2628
Re: pb6.12b3 Not sure if it is a peeks bug?
Thanks, I'll try your code right away.jacdelad wrote: Mon Aug 26, 2024 3:41 pm I don't have your files, so I can just guess:
Does ist work with?Code: Select all
filetext$ = PeekS(*UnpackID, -1, #PB_UTF8)
Just tested, the problem still exists.
- Mon Aug 26, 2024 3:20 pm
- Forum: Coding Questions
- Topic: pb6.12b3 Not sure if it is a peeks bug?
- Replies: 14
- Views: 2628
pb6.12b3 Not sure if it is a peeks bug?
Not sure if it is a peeks bug, please check the following code. Code 1 has an error in the peeks function when accessing a file.
thanks!
line: filetext$ = PeekS(*UnpackID, Result, #PB_UTF8)
https://drive.google.com/file/d/1sLYzrArVtksVhLrS-KWTkgOvOh-BhiCS/view?usp=sharing
; code 1 ...
thanks!
line: filetext$ = PeekS(*UnpackID, Result, #PB_UTF8)
https://drive.google.com/file/d/1sLYzrArVtksVhLrS-KWTkgOvOh-BhiCS/view?usp=sharing
; code 1 ...
- Mon Aug 12, 2024 2:59 am
- Forum: Coding Questions
- Topic: [Solved] PB 6.12 b1 An error occurred when using UncompressPackMemory or UncompressPackFile to decompress a zip archive
- Replies: 3
- Views: 2338
Re: 【PB 6.12 b1】An error occurred when using UncompressPackMemory or UncompressPackFile to decompress a zip archive
This is caused by my coding error, not a bug. Please move it to the appropriate region or delete this post. Thank you.
- Thu Aug 08, 2024 2:43 pm
- Forum: Coding Questions
- Topic: [Solved] PB 6.12 b1 An error occurred when using UncompressPackMemory or UncompressPackFile to decompress a zip archive
- Replies: 3
- Views: 2338
Re: 【PB 6.12 b1】An error occurred when using UncompressPackMemory or UncompressPackFile to decompress a zip archive
This is caused by my coding error, not a bug. Please move it to the appropriate region or delete this post. Thank you.
- Thu Aug 08, 2024 2:40 pm
- Forum: Coding Questions
- Topic: [Solved] PB 6.12 b1 An error occurred when using UncompressPackMemory or UncompressPackFile to decompress a zip archive
- Replies: 3
- Views: 2338
[Solved] PB 6.12 b1 An error occurred when using UncompressPackMemory or UncompressPackFile to decompress a zip archive
This is caused by my coding error, not a bug. Please move it to the appropriate region or delete this post. Thank you.
2024-09-14
An error occurred when using UncompressPackMemory or UncompressPackFile to decompress a zip archive containing Chinese characters.
Today, I tested the Packer ...
2024-09-14
An error occurred when using UncompressPackMemory or UncompressPackFile to decompress a zip archive containing Chinese characters.
Today, I tested the Packer ...
- Thu Apr 18, 2024 1:30 pm
- Forum: Announcement
- Topic: PureBasic 6.11 LTS is out !
- Replies: 70
- Views: 39994
Re: PureBasic 6.11 LTS Beta 1 is ready for testing !
Thanks, Fred and team!
I plan to download and install it tomorrow or the day after tomorrow, and test the problems I encountered before. Thanks for the update and bug fixes.
;----
After testing, both X86 and X64 platforms can work normally.
Thanks, Fred and team again!
I plan to download and install it tomorrow or the day after tomorrow, and test the problems I encountered before. Thanks for the update and bug fixes.
;----
After testing, both X86 and X64 platforms can work normally.
Thanks, Fred and team again!
- Fri Apr 14, 2023 4:24 am
- Forum: Applications - Feedback and Discussion
- Topic: [IDE Tool] RuntimeSwitcher (Windows only, Experimental!)
- Replies: 9
- Views: 2233
Re: [IDE Tool] RuntimeSwitcher (Windows only, Experimental!)
Thank you for your hard work and sharing the results with everyone.
- Thu Feb 23, 2023 9:37 am
- Forum: Feature Requests and Wishlists
- Topic: Is there a possibility to use Sqlite3MC to replace the sqlite3 currently in use?
- Replies: 3
- Views: 712
Re: Is there a possibility to use Sqlite3MC to replace the sqlite3 currently in use?
Have you tried the dll?
Yes, I tried to use the DLL compiled by VS2019 community edition, it can work very well in pb5.73, so I have reason to believe that it should also work in PB6, in fact, I would like to be able to use its static directly in PB library version.
As introduced on the ...