Thanks for the clarification, Fred!
Just to confirm: I removed the /THREAD flag when building the PureLibrary, and it still generates the threaded version automatically, as expected.
However, when I then try to compile and run the program that uses this library with the /THREAD option, I still get ...
Search found 53 matches
- Sat Jun 21, 2025 11:02 am
- Forum: Bugs - Windows
- Topic: PureLibrary created with C backend fails when using /THREAD option
- Replies: 4
- Views: 333
- Sat Jun 21, 2025 8:27 am
- Forum: Coding Questions
- Topic: ImageMenu : Image changes in menus are no longer updated with PB 6.21 Windows.
- Replies: 4
- Views: 212
Re: ImageMenu : Image changes in menus are no longer updated with PB 6.21 Windows.
If you reset the menuItem after changing the image, it works again. But I'm not sure if that's the correct way to do it. Case #MenuItem_CouleurH ;{
Couleur = ColorRequester()
If Couleur > -1
ColAiguilleH = Couleur
StartDrawing( ImageOutput( Image_Couleur_Heure ) )
Box( 0 , 0 , 16 , 16 ...
Couleur = ColorRequester()
If Couleur > -1
ColAiguilleH = Couleur
StartDrawing( ImageOutput( Image_Couleur_Heure ) )
Box( 0 , 0 , 16 , 16 ...
- Fri Jun 20, 2025 11:11 pm
- Forum: Tricks 'n' Tips
- Topic: Crypt String with Xor
- Replies: 7
- Views: 3281
Re: Crypt String with Xor
here you go, without poke, and with Unicode support :-) EnableExplicit
Procedure.s selfE(src.s, en.b = #True)
Protected i.i, k1.i, k2.i, r.i, *p.Character = @src, srcLen.i = Len(src)
If srcLen
k2 = *p\c
r = srcLen ! k2
If r
*p\c = r
EndIf
For i=2 To srcLen
*p + SizeOf(Character)
If en ...
Procedure.s selfE(src.s, en.b = #True)
Protected i.i, k1.i, k2.i, r.i, *p.Character = @src, srcLen.i = Len(src)
If srcLen
k2 = *p\c
r = srcLen ! k2
If r
*p\c = r
EndIf
For i=2 To srcLen
*p + SizeOf(Character)
If en ...
- Fri Jun 20, 2025 10:19 pm
- Forum: Bugs - Windows
- Topic: PureLibrary created with C backend fails when using /THREAD option
- Replies: 4
- Views: 333
PureLibrary created with C backend fails when using /THREAD option
Hi, I believe I’ve found a bug related to the use of custom PureLibraries with the C backend and the /THREAD option.
Environment:
PureBasic 6.21 x64
Windows 10 x64
C Backend (issue only occurs here)
ASM Backend works fine
Description:
I created a simple PureLibrary using pbcompilerc.exe ...
Environment:
PureBasic 6.21 x64
Windows 10 x64
C Backend (issue only occurs here)
ASM Backend works fine
Description:
I created a simple PureLibrary using pbcompilerc.exe ...
- Sun May 25, 2025 5:48 pm
- Forum: Coding Questions
- Topic: ImageVectorOutput() has no antialiasing – normal or bug?
- Replies: 7
- Views: 459
Re: ImageVectorOutput() has no antialiasing – normal or bug?
It's the same issue that this bug report: https://www.purebasic.fr/english/viewtopic.php?p=641252#p641252
You can workaround it by putting a full white transparent background:
If StartDrawing(ImageOutput(#IMAGE))
DrawingMode(#PB_2DDrawing_AllChannels)
Box(0, 0, OutputWidth(), OutputHeight ...
- Sun May 25, 2025 1:21 am
- Forum: Coding Questions
- Topic: ImageVectorOutput() has no antialiasing – normal or bug?
- Replies: 7
- Views: 459
ImageVectorOutput() has no antialiasing – normal or bug?
Hey everyone,
I've been working on a small UI helper and wanted to render a rounded box into a transparent image using the VectorDrawing library.
What I'm trying to do:
Generate a transparent image at runtime using ImageVectorOutput() that:
has real alpha (e.g. rounded corners)
looks ...
I've been working on a small UI helper and wanted to render a rounded box into a transparent image using the VectorDrawing library.
What I'm trying to do:
Generate a transparent image at runtime using ImageVectorOutput() that:
has real alpha (e.g. rounded corners)
looks ...
- Thu May 22, 2025 10:44 am
- Forum: Bugs - IDE
- Topic: No autocomplete for macros in residents
- Replies: 3
- Views: 2702
Re: No autocomplete for macros in residents
I would like to bring up this topic again since I couldn’t find any response in the forum.
Is it a bug that the macros do not appear in the autocomplete list, or is it intentional?
I think this feature would be very useful.
Is it a bug that the macros do not appear in the autocomplete list, or is it intentional?
I think this feature would be very useful.
- Mon Feb 17, 2025 9:09 am
- Forum: Announcement
- Topic: PureBasic 6.20 is out !
- Replies: 148
- Views: 76675
Re: PureBasic 6.20 is out !
There is some limitation for PureBasic purelibrary:
- No debugger support (in progress)
- All functions are compiled in the same object, which means the library will always includes all the functions in the final executable.
- No help support (in progress) Another restriction:
Optional parameters ...
- Mon Feb 17, 2025 7:36 am
- Forum: Feature Requests and Wishlists
- Topic: Make CHR() support multiple arguments
- Replies: 10
- Views: 1105
Re: Make CHR() support multiple arguments
Very interesting, great thingidle wrote: Mon Feb 17, 2025 3:03 am with c backend it's easy
Code: Select all
Structure aAscii a.a[0] EndStructure Global *pa.aAscii !char ca[] = {80,117,114,101,66,97,115,105,99}; !gp_pa = &ca; Debug PeekS(*pa,-1,#PB_Ascii) For a = 0 To 8 Debug *pa\a[a] Next

- Fri Feb 14, 2025 5:49 pm
- Forum: Announcement
- Topic: PureBasic 6.20 is out !
- Replies: 148
- Views: 76675
Re: PureBasic 6.20 is out !
Many thanks to the PB team, and Fred! 

- Thu Feb 13, 2025 6:43 pm
- Forum: General Discussion
- Topic: Website incredibly slow?
- Replies: 78
- Views: 16529
Re: Website incredibly slow?
We have a mansplainer with us. Thank you Taz :D
WTF, i just wanted to help in detail, not to suggest that anyone is stupid. :shock:
Fred's statement "wait and see":
I just wanted to point out the possible consequences.
It has happened to me that a host simply took the website offline. And then ...
- Thu Feb 13, 2025 3:41 pm
- Forum: General Discussion
- Topic: Website incredibly slow?
- Replies: 78
- Views: 16529
Re: Website incredibly slow?
There is a lot of simultaneous requests coming from a lot of IP, so nothing we can really do about it, wait'n'see
This is a DDoS attack , and hoping that it will stop on its own is naive, it will probably get worse. cloudflare is an option.
Talk to your host about options.
If you do nothing ...
- Thu Feb 13, 2025 10:57 am
- Forum: General Discussion
- Topic: Website incredibly slow?
- Replies: 78
- Views: 16529
Re: Website incredibly slow?
out of curiosity, did that really start for all of you today?
The problem has occurred sporadically for a few days.
But now it's almost a permanent condition.
Currently 10-15 seconds loading time.
Well, first Fred has to identify the problem. Is it a bot that's stuck somewhere, or an attack ...
- Wed Feb 12, 2025 8:20 pm
- Forum: General Discussion
- Topic: Website incredibly slow?
- Replies: 78
- Views: 16529
Re: Website incredibly slow?
60 seconds later:There are 2170 guest users online
maybe a DoS attack?There are 1953 guest users online

- Wed Feb 12, 2025 7:28 pm
- Forum: General Discussion
- Topic: Website incredibly slow?
- Replies: 78
- Views: 16529
Re: Website incredibly slow?
Right now, loading times are sometimes up to 25 seconds... 
