Please document this functionality in advance in Beta 2.Inner wrote: Wed Jan 10, 2024 2:49 amIs there any more details other than the above on how that works?Updated: Toolchain on Windows now use VisualStudio 2022 and new MSVCRT for faster PureBasic programs and easier external libs integration.
PureBasic 6.10 LTS is out !
-
- Enthusiast
- Posts: 581
- Joined: Wed Sep 25, 2019 10:18 am
Re: PureBasic 6.10 beta 1 - Xmas Release - is out !
Re: PureBasic 6.10 beta 1 - Xmas Release - is out !
fascinating does this mean my header assistant as less use ( https://youtu.be/7dbOzlKjBbk ) though I suppose we still need to translate the 'Struct','Defines','Enums' and what have you though, so I suppose it's still useful.
Re: PureBasic 6.10 beta 1 - Xmas Release - is out !
The change means you can now build a library with vs 22 and link to it statically.
You will still need your header assistant unless Fred's been snorting fairy dust and put his technicolor tutu on to somehow magically parse c headers
It's not easy as you know.
You will still need your header assistant unless Fred's been snorting fairy dust and put his technicolor tutu on to somehow magically parse c headers
It's not easy as you know.
Re: PureBasic 6.10 beta 1 - Xmas Release - is out !
lol @ technicolor tutu, guess we need to pass the bucket around and get him oneidle wrote: Wed Jan 10, 2024 8:45 pm The change means you can now build a library with vs 22 and link to it statically.
You will still need your header assistant unless Fred's been snorting fairy dust and put his technicolor tutu on to somehow magically parse c headers
It's not easy as you know.

I think I have a misunderstanding, what the use case is for PB having a C backend.
Re: PureBasic 6.10 beta 1 - Xmas Release - is out !
It was to support Arm targets, Raspberry PI and M1 macs and by emitting c rather than asm means you get all the benefits of gcc compiler suite.Inner wrote: Wed Jan 10, 2024 10:34 pmlol @ technicolor tutu, guess we need to pass the bucket around and get him oneidle wrote: Wed Jan 10, 2024 8:45 pm The change means you can now build a library with vs 22 and link to it statically.
You will still need your header assistant unless Fred's been snorting fairy dust and put his technicolor tutu on to somehow magically parse c headers
It's not easy as you know.
I think I have a misunderstanding, what the use case is for PB having a C backend.
- DeanH
- Enthusiast
- Posts: 274
- Joined: Wed May 07, 2008 4:57 am
- Location: Adelaide, South Australia
- Contact:
Re: PureBasic 6.10 beta 1 - Xmas Release - is out !
I have recompiled all 10 of my school library system's exe modules with the beta release. Windows 10, 64-bit, asm compiler. 100,000 to 150,000 lines of source code in each module. It is a complex database system using SQLite, barcodes, and images. So far, everything seems to work okay.
There may be good news on the AV false positive front, too. Cylance/ZScaler, is a security system mandated by government policy to all schools in the Australian state of Victoria. About 500 of my users there are schools. When updating, some of my modules have been regularly quarantined by Cylance in a large number of schools and have to be waived by a technician, often not available when needed. The problem has become so bad many schools are refusing to update and a few have gone to other cloud-based systems. The most recent was this week. As a test, I ran all the exe modules through Hybrid-Analysis.com. The report can look horrifying as a great deal of ordinary code is deemed suspicious. Good news: most modules are now classified as clean where before they were suspicious or ambiguous. Three remain suspicious but none are now malignant. There is a persistent detection of the wine emulator "wine_get_version" and reading mail credentials from the registry "HKLM\SOFTWARE\MICROSOFT\IDENTITYCRL", neither of which I have referenced in my source code. Hybrid-Analysis considers these malicious indicators. There are fewer indicators than I saw with previous PB versions.
Even in Beta 1 stage, this huge revision to Pure Basic looks like a big improvement.
There may be good news on the AV false positive front, too. Cylance/ZScaler, is a security system mandated by government policy to all schools in the Australian state of Victoria. About 500 of my users there are schools. When updating, some of my modules have been regularly quarantined by Cylance in a large number of schools and have to be waived by a technician, often not available when needed. The problem has become so bad many schools are refusing to update and a few have gone to other cloud-based systems. The most recent was this week. As a test, I ran all the exe modules through Hybrid-Analysis.com. The report can look horrifying as a great deal of ordinary code is deemed suspicious. Good news: most modules are now classified as clean where before they were suspicious or ambiguous. Three remain suspicious but none are now malignant. There is a persistent detection of the wine emulator "wine_get_version" and reading mail credentials from the registry "HKLM\SOFTWARE\MICROSOFT\IDENTITYCRL", neither of which I have referenced in my source code. Hybrid-Analysis considers these malicious indicators. There are fewer indicators than I saw with previous PB versions.
Even in Beta 1 stage, this huge revision to Pure Basic looks like a big improvement.
Re: PureBasic 6.10 beta 2 - Xmas Release - is out !
2024-01-12: beta 2 released, focused on bug fixes and improvements:
Bugfixes for this version:
Code: Select all
Added: UseDialogWebGadget() to avoid WebGadget dependencies by default when using dialogs.
Updated: Unicode file support for Windows compiler
Updated: Used libvlc instead of the old xine lib on Linux to play movies
Updated: Reworked the Sound library to use MiniAudio on OS X and Linux (SDL dependency is no more requiered for sounds on Linux).
- Windows: [Done] PB6.10 B1: using FillVectorOutput() creates malformed SVG with SvgVectorOutput()
- Windows: [Done] PB 6.10 b1 - PdfVectorOutput
- Windows: [Done] [6.10 B1] Random CalendarGadget dates are bold
- Windows: [Done] [6.10 beta 1] FormatDate() and ParseDate()
- Windows: [Done] [PB 6.10 beta 1] AddDate(d, #PB_Date_Month, -1)
- Linux: [Done] OpenGL inside SplitterGadget = BadDrawable error
- Linux: [Done] OpenGLGadget() + SplitterGadget() ?
- Linux: [Done] 4.0 b2 and now 4.10b2 Linux - PlayMovie is not working
- Linux: [Done] ListIconGadget: OS-different column order after drag&drop
- Linux: [Done] x64 call convention parsing bug
- Linux: [Done] IncludeBinary filenames with umlauts or Unicode characters > U+00A0
- Linux: [Done] solved audio playback stream never closes.
- Linux: [Done] 4.20b - PlayMovie() issue .. the (old) Problem
- Linux: [Done] 440b2 x64 movie-lib Playmovie crashes
- Linux: [Done] .wav files play too fast - PB 5.22 x86 x64
- Linux: [Done] Requester - GtkDialog mapped without a transient parent.
- Linux: [Done] PB 5.41 LTS All Requesters report warnings
- Linux: [Done] PB v6.10 b1 - BindWebViewCallback()
- MacOS: [Done] 6.10 b1 - ListIconGadget: Changed definition of column width?
- MacOS: [Done] panning and setting/getting frequency of sound not working
- MacOS: [Done] GetSoundPosition returns -1
- MacOS: [Done] Scratching noises when 2 or more sounds are played together
- MacOS: [Done] SetSoundFrequency
- MacOS: [Done] 5.00 - PlaySound streams mono incorrectly
- MacOS: [Done] OGG files sound wrong.
- MacOS: [Done] 5.00 - PlaySound with wrong "speed"
- MacOS: [Done] SetGadgetItemColor don't work
- MacOS: [Done] Bugs in SetGadgetItemColor() in PB 6+
- MacOS: [Done] 6.10 b1 - SetGadgetItemColor: FrontColor has no effect with ListIconGadget
- MacOS: [Done] Serial communication problems on PB 6.0.4
- MacOS: [Done] Missing PB_Event_RestoreWindow from fullscreen
- MacOS: [Done] (>=PB6.00) Serious accessibility issues with ListViewGadget, ListIconGadget, and TreeViewGadget
- MacOS: [Done] PB v5.72 - Invalid Event Order with TAB key
- MacOS: [Done] ExplorerListGadget Change Pattern
- MacOS: [Done] Canvas Memory Leak ?
- MacOS: [Done] PB v6.04 - AddKeyboardShortcut Key Pad not work
- MacOS: [Done] 6.10 b1 - ListIconGadget, No update after change alignment
Re: PureBasic 6.10 beta 2 - Xmas Release - is out !
The ability to specify a working path for webview was promised. Already or in the next issue?
https://www.purebasic.fr/english/viewto ... 84#p613384
https://www.purebasic.fr/english/viewto ... 84#p613384
Dawn will come inevitably.
Re: PureBasic 6.10 beta 2 - Xmas Release - is out !
For next beta
- Psychophanta
- Always Here
- Posts: 5153
- Joined: Wed Jun 11, 2003 9:33 pm
- Location: Anare
- Contact:
Re: PureBasic 6.10 beta 2 - Xmas Release - is out !
PB 6.02B2 New year Release is Welcomed



Re: PureBasic 6.10 beta 2 - Xmas Release - is out !
Thanks, but why you didn't use MiniAudio on Windows too ?Updated: Reworked the Sound library to use MiniAudio on OS X and Linux (SDL dependency is no more requiered for sounds on Linux).
On Windows the audio uses DirectSound ?
"Have you tried turning it off and on again ?"
A little PureBasic review
A little PureBasic review
Re: PureBasic 6.10 beta 2 - Xmas Release - is out !
After 34 channels playing PlaySound() returns zero. Seems the maximum channels at the same time ist 34. Is that configurable? Or is this system dependent (sound chip, OS...)?
Re: PureBasic 6.10 beta 2 - Xmas Release - is out !
There is a 32 channels limit when playing sound simultinaously (once a sound play is finished the channel is reused. Its not an OS limitation ans can be raised if needed. How many do you need ? May be
E an extra param in InitSound() could be useful.
@luis, its planned to switch on Windows as well as I want to use advanced miniaudio features like spécialisation ans may be recording
E an extra param in InitSound() could be useful.
@luis, its planned to switch on Windows as well as I want to use advanced miniaudio features like spécialisation ans may be recording
Re: PureBasic 6.10 beta 2 - Xmas Release - is out !
Please @Team: don't forget to delete the multitude of temp directories (PureBasic\d+) with the LIB copies.
They remain in the temporary directory even when we exit the IDE.
They remain in the temporary directory even when we exit the IDE.
Re: PureBasic 6.10 beta 2 - Xmas Release - is out !
Strange, I rough i had removed this, will take a look again