Page 9 of 23
Re: PureBasic 6.10 beta 1 - Xmas Release - is out !
Posted: Wed Jan 10, 2024 9:22 am
by juergenkulow
Inner wrote: Wed Jan 10, 2024 2:49 am
Updated: Toolchain on Windows now use VisualStudio 2022 and new MSVCRT for faster PureBasic programs and easier external libs integration.
Is there any more details other than the above on how that works?
Please document this functionality in advance in Beta 2.
Re: PureBasic 6.10 beta 1 - Xmas Release - is out !
Posted: Wed Jan 10, 2024 2:29 pm
by Inner
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 !
Posted: Wed Jan 10, 2024 8:45 pm
by idle
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.
Re: PureBasic 6.10 beta 1 - Xmas Release - is out !
Posted: Wed Jan 10, 2024 10:34 pm
by Inner
idle 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.
lol @ technicolor tutu, guess we need to pass the bucket around and get him one
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 !
Posted: Wed Jan 10, 2024 11:03 pm
by idle
Inner wrote: Wed Jan 10, 2024 10:34 pm
idle 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.
lol @ technicolor tutu, guess we need to pass the bucket around and get him one
I think I have a misunderstanding, what the use case is for PB having a C backend.
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.
Re: PureBasic 6.10 beta 1 - Xmas Release - is out !
Posted: Fri Jan 12, 2024 2:28 am
by DeanH
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.
Re: PureBasic 6.10 beta 2 - Xmas Release - is out !
Posted: Sat Jan 13, 2024 11:45 am
by Fred
2024-01-12: beta 2 released, focused on bug fixes and improvements:
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).
Bugfixes for this version:This list was created automatically. All updated bug threads from the date of the last final version have been determined.
Re: PureBasic 6.10 beta 2 - Xmas Release - is out !
Posted: Sat Jan 13, 2024 12:59 pm
by useful
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
Re: PureBasic 6.10 beta 2 - Xmas Release - is out !
Posted: Sat Jan 13, 2024 1:19 pm
by Fred
For next beta
Re: PureBasic 6.10 beta 2 - Xmas Release - is out !
Posted: Sat Jan 13, 2024 3:15 pm
by Psychophanta
PB 6.02B2 New year Release is Welcomed

Re: PureBasic 6.10 beta 2 - Xmas Release - is out !
Posted: Sat Jan 13, 2024 5:22 pm
by luis
Updated: Reworked the Sound library to use MiniAudio on OS X and Linux (SDL dependency is no more requiered for sounds on Linux).
Thanks, but why you didn't use MiniAudio on Windows too ?
On Windows the audio uses DirectSound ?
Re: PureBasic 6.10 beta 2 - Xmas Release - is out !
Posted: Sat Jan 13, 2024 10:39 pm
by Lebostein
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 !
Posted: Sun Jan 14, 2024 9:30 am
by Fred
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
Re: PureBasic 6.10 beta 2 - Xmas Release - is out !
Posted: Sun Jan 14, 2024 11:10 am
by Marc56us
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.
Re: PureBasic 6.10 beta 2 - Xmas Release - is out !
Posted: Sun Jan 14, 2024 11:15 am
by Fred
Strange, I rough i had removed this, will take a look again