https://i.imgur.com/H8ZAzKK.png
Add in PureBasic.prefs --> [MoreCompilers]
[MoreCompilers]
Count = 20 ; in my case 20 more compilers
Compiler1_Exe = Compilers\x64\Compilers\pbcompiler.exe
Compiler1_Md5 = ; MD5 HERE (file above)
Compiler1_Version = PureBasic 6.10 (Windows - x64)
Compiler2_Exe ...
Search found 217 matches
- Fri Jul 26, 2024 9:40 pm
- Forum: Tricks 'n' Tips
- Topic: All in one compilers
- Replies: 4
- Views: 1578
- Tue Dec 13, 2022 5:17 pm
- Forum: Windows
- Topic: ListIcon questions
- Replies: 0
- Views: 657
ListIcon questions
Solved Icons doesn't show
Solved How to display (not display) an icon for an item by condition?
Is there a simple implementation so that when there is no icon there is no indentation (emptiness in place of the icon)?
How to correctly display icons with high dpi? (if we load a 16x16 image, it ...
Solved How to display (not display) an icon for an item by condition?
Is there a simple implementation so that when there is no icon there is no indentation (emptiness in place of the icon)?
How to correctly display icons with high dpi? (if we load a 16x16 image, it ...
- Sat Dec 10, 2022 6:42 pm
- Forum: Windows
- Topic: Any tools for PB AT&T?
- Replies: 0
- Views: 576
Any tools for PB AT&T?
Is there any tool to convert fasm to PB AT&T ?
The standard syntax causes compilation errors.
For example with default compiler we use
!mov rax, [gs: qword 60h]
With PB_Backend_C
! __asm__ __volatile__ ("movq %gs:0x60, %rax") ; error
! __asm__ __volatile__ ("movq %%gs:0x60, %%rax") ; error ...
The standard syntax causes compilation errors.
For example with default compiler we use
!mov rax, [gs: qword 60h]
With PB_Backend_C
! __asm__ __volatile__ ("movq %gs:0x60, %rax") ; error
! __asm__ __volatile__ ("movq %%gs:0x60, %%rax") ; error ...
- Sat Dec 10, 2022 2:25 pm
- Forum: Windows
- Topic: Unable to get IFileSystemBindData
- Replies: 0
- Views: 625
Unable to get IFileSystemBindData
Please tell me how to get a pointer to the IFileSystemBindData interface.
I'm clearly doing something wrong.
EnableExplicit
Global Desktop.IShellFolder
Global *PIDL
Global TestFile$ = "X:\New.txt"
Procedure do()
Protected strBuf.s = Space(#MAX_PATH)
Protected w32fd.WIN32_FIND_DATA ...
I'm clearly doing something wrong.
EnableExplicit
Global Desktop.IShellFolder
Global *PIDL
Global TestFile$ = "X:\New.txt"
Procedure do()
Protected strBuf.s = Space(#MAX_PATH)
Protected w32fd.WIN32_FIND_DATA ...
- Mon Apr 04, 2022 1:00 pm
- Forum: Tricks 'n' Tips
- Topic: XXH32 Module (xxHash)
- Replies: 21
- Views: 12738
Re: XXH32 Module (xxHash)
Unfortunately, I haven't seen a C implementation yet.
At the moment I can offer libxxhash.dll (can be found also in msys64\mingw64 or inkscape distro) for testing the algorithm on Windows.
Note that it was built with slightly different compiler flags than the xxhsum.exe utility from the official ...
At the moment I can offer libxxhash.dll (can be found also in msys64\mingw64 or inkscape distro) for testing the algorithm on Windows.
Note that it was built with slightly different compiler flags than the xxhsum.exe utility from the official ...
- Mon Apr 04, 2022 2:09 am
- Forum: Tricks 'n' Tips
- Topic: XXH32 Module (xxHash)
- Replies: 21
- Views: 12738
Re: XXH32 Module (xxHash)
How about XXH3 (SSE2)?
- Thu Mar 31, 2022 1:12 pm
- Forum: Windows
- Topic: Replace internal function
- Replies: 10
- Views: 2610
Re: Replace internal function
Isn't this Ok?
Yes it's ok. It's just a "local" solution for one particular function. Note
I want replace internal call to wcslen with call to my inline asm code (not only when using PeekS, but also for any other functions calling wcslen within itself) The override method will replace not only ...
Yes it's ok. It's just a "local" solution for one particular function. Note
I want replace internal call to wcslen with call to my inline asm code (not only when using PeekS, but also for any other functions calling wcslen within itself) The override method will replace not only ...
- Thu Mar 24, 2022 5:56 pm
- Forum: Coding Questions
- Topic: How to get text from a resource into a string (PB4-Win XP)
- Replies: 15
- Views: 4031
Re: How to get text from a resource into a string (PB4-Win XP)
I ran into this unexpectedly on Windows 10.
The resource is in UTF8, but the Unicode is not read correctly, trying to follow the PellesC manual (L "string" format) leads to error:
String literal expected (found: L"STRING")
The resource is in UTF8, but the Unicode is not read correctly, trying to follow the PellesC manual (L "string" format) leads to error:
String literal expected (found: L"STRING")
- Wed Mar 23, 2022 12:54 am
- Forum: Windows
- Topic: Replace internal function
- Replies: 10
- Views: 2610
Re: Replace internal function
did not check how this is implemented, maybe just importing functions with the same name
From docs:
If two function libraries contain the same function name then the linker will take the function from the library that is linked first.
The override method will replace not only the function calls ...
From docs:
If two function libraries contain the same function name then the linker will take the function from the library that is linked first.
The override method will replace not only the function calls ...
- Tue Mar 22, 2022 3:49 pm
- Forum: Windows
- Topic: Replace internal function
- Replies: 10
- Views: 2610
Re: Replace internal function
jacdelad , thank you.
Maybe I wasn't clear about what I wanted.
a$="abc"
b$ = PeekS(@a$, -1)
PeekS internally call wcslen here.
I want replace internal call to wcslen with call to my inline asm code (not only when using PeekS, but also for any other functions calling wcslen within itself).
Asm ...
Maybe I wasn't clear about what I wanted.
a$="abc"
b$ = PeekS(@a$, -1)
PeekS internally call wcslen here.
I want replace internal call to wcslen with call to my inline asm code (not only when using PeekS, but also for any other functions calling wcslen within itself).
Asm ...
- Tue Mar 22, 2022 4:11 am
- Forum: Windows
- Topic: Replace internal function
- Replies: 10
- Views: 2610
Replace internal function
Some PB functions call the standard functions from msvcrt.dll (wcslen, wcsstr, memset etc).
I know that it's possible to replace them with an external library (for example asmlib can do this).
Is it possible to do this without a static library, by reassigning the internal msvcrt function to the ...
I know that it's possible to replace them with an external library (for example asmlib can do this).
Is it possible to do this without a static library, by reassigning the internal msvcrt function to the ...
- Sat Apr 17, 2021 6:59 pm
- Forum: Announcement
- Topic: Forums update
- Replies: 125
- Views: 136714
Re: Forums update
+1Andre wrote: Fri Apr 16, 2021 10:43 pmI support this wish for the separate 'Active topics' link, as I'm using it very often too
- Fri Mar 12, 2021 4:12 pm
- Forum: Feature Requests and Wishlists
- Topic: Time to change the default graphics subsystem to DX11
- Replies: 1
- Views: 1083
Re: Time to change the default graphics subsystem to DX11
And maybe also you will think about cario lib?
- It's cross platform
- It's hardware accelerated
- It may be compiled with all\any features as single lib\dll
- It can have builtin Freetype2! That's what I miss all the time I've use PB (especially on windows as native fonts hinting is horrible)
- Wed Mar 10, 2021 9:28 pm
- Forum: Coding Questions
- Topic: [NOT] Optimizing compiler
- Replies: 38
- Views: 6202
Re: [NOT] Optimizing compiler
I agree.infratec wrote:better placed in feature requests
PB is almost perfect and I want to remove the word "almost".
If you are satisfied no matter what, shame on you


- Wed Mar 10, 2021 7:58 pm
- Forum: Coding Questions
- Topic: [NOT] Optimizing compiler
- Replies: 38
- Views: 6202
Re: [NOT] Optimizing compiler
No one doubts that PB generate perfect code 
Although with default PB (PelleC) optimization enabled, this should not be the case.

Although with default PB (PelleC) optimization enabled, this should not be the case.