I'm just an "Enthusiast"
DBin_
- DoubleDutch
- Addict

- Posts: 3220
- Joined: Thu Aug 07, 2003 7:01 pm
- Location: United Kingdom
- Contact:
Gurus?
I'm just an "Enthusiast"
I'm just an "Enthusiast"
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
https://reportcomplete.com <- School end of term reports system
I have added the changes from DoubleDutch to the download
In the moment, i can't implement the unicode support, it works only one of this, unicode or ascii. Don't know
In the moment, i can't implement the unicode support, it works only one of this, unicode or ascii. Don't know
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

No finding the file, only filename, but no size and so on.Dare wrote:Hi ts-soft, sorry for the bum steer.
I'll have another look, but will only advise you (via PM) if I think I have something solid.
BTW, where did it go bad? Not finding the file? Saving rubbish? The encryption? Everywhere?
If have also tested as
procedure foo()
endprocedure
procedure foo_Unicode()
endprocedure
but nothing work correctly
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

I will also look, i have more libs with problems in unicode or thread mod. It's not so easy.
But it's time to find the best solution
But it's time to find the best solution
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Yes, i agree. PB4 opens lots of doors (or makes them easier to go through). But some parts are slippery little beggers!ts-soft wrote:But it's time to find the best solution
BTW, I can't get that codesnip to not work. I think I have a mindset and I must be working to that mindset. Which is a worry. Ignorant of my ignorance.
Dare2 cut down to size
@Dare
Please, more simple english, i can't translate this
Please, more simple english, i can't translate this
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Sorry ts-soft!
I was agreeing that now is a good time to learn the tricks with unicode and threadsafe.
Also, I meant I can't make the unicode/ascii Dbin snippet crash, but that may be because I am thinking one way and coding and testing that way. I need to learn to think in another way.
Your English as posted here is good enough that I forget you're not an English speaker. Sorry again.
I was agreeing that now is a good time to learn the tricks with unicode and threadsafe.
Also, I meant I can't make the unicode/ascii Dbin snippet crash, but that may be because I am thinking one way and coding and testing that way. I need to learn to think in another way.
Your English as posted here is good enough that I forget you're not an English speaker. Sorry again.
Dare2 cut down to size
my english is so bad, mostly i use an translator
but phrases, slang and so on, don't understand.
but phrases, slang and so on, don't understand.
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

DBin Packer.exe available. See here: http://www.purebasic.fr/english/viewtop ... &start=105
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Hellos, just reporting some bugs ...
Three bugs really ...
in the manual for DBin_ command ...

Also ...
the pb compiler will provide the following error when using the command with a key param even though it doesnt have one ..
When creating a dbin file with encryption, it does not compress. It only compresses when there is no encryption.
However, the above bugs show up in the PBOSL version of the DBin library, if thats not the newest, is there an update? Plus the PBOSL version is missing it's source so I couldnt make any comparison. Ah well. The one in this thread doesnt contain these bugs? I'll check this one out.
Hope this helps.
Three bugs really ...
in the manual for DBin_ command ...
The "key" param for the DBin_ command is required. Thus the example above does not work#Image=0
Image=DBin_("MyBin","images\PBLogo.bmp")
If Image
CatchImage(#Image,Image)
Else
MessageRequester("Error","Image not Found in DBin")
End
EndIf
If OpenWindow(0,0,0,400,100,"DBin Test",#PB_Window_SystemMenu|#PB_Window_ScreenCentered)
If CreateGadgetList(WindowID(0))
ImageGadget(1,0,0,300,100,UseImage(#Image))
EndIf
Repeat
Until WaitWindowEvent()=#PB_Event_CloseWindow
EndIf
Also ...
the pb compiler will provide the following error when using the command with a key param even though it doesnt have one ..
And ...POLINK: error: Unresolved external symbol '_PB_StringBasePosition'.
POLINK: fatal error: 1 unresolved external(s).
When creating a dbin file with encryption, it does not compress. It only compresses when there is no encryption.
However, the above bugs show up in the PBOSL version of the DBin library, if thats not the newest, is there an update? Plus the PBOSL version is missing it's source so I couldnt make any comparison. Ah well. The one in this thread doesnt contain these bugs? I'll check this one out.
Hope this helps.
> The "key" param for the DBin_ command is required. Thus the example above does not work
In the moment no optional parameters, sry. See here: http://www.purebasic.fr/english/viewtop ... &start=105
> When creating a dbin file with encryption, it does not compress
I will check this, thx for bug report!
In the moment no optional parameters, sry. See here: http://www.purebasic.fr/english/viewtop ... &start=105
> When creating a dbin file with encryption, it does not compress
I will check this, thx for bug report!
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

- DoubleDutch
- Addict

- Posts: 3220
- Joined: Thu Aug 07, 2003 7:01 pm
- Location: United Kingdom
- Contact:
I think that a couple of these bugs will be gone as soon as a final version of Tailbite arrives.
I remember reporting the empty string 'bug' being needed to ts-soft and I think he confirmed that this was the case. So not long to wait for that one.
The StringBasePosition thing appears to be something to do with the threadsafe option and quite a few libraries breaking. Maybe that will sort itself out in time too??
I remember reporting the empty string 'bug' being needed to ts-soft and I think he confirmed that this was the case. So not long to wait for that one.
The StringBasePosition thing appears to be something to do with the threadsafe option and quite a few libraries breaking. Maybe that will sort itself out in time too??
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
https://reportcomplete.com <- School end of term reports system
In the moment, the only way to create a tailbite lib with threadsafe option, is to create two libs, but i will wait for new release of tailbite.DoubleDutch wrote: The StringBasePosition thing appears to be something to do with the threadsafe option and quite a few libraries breaking. Maybe that will sort itself out in time too??
When the way for optional parameters, unicode and threadsafe libs clearly is, i will rework all libs. In the moment is it useless.
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

