Search found 264 matches

by Niffo
Mon Nov 18, 2024 6:20 pm
Forum: Bugs - Mac OSX
Topic: PB6.10+ ARM : DYLIB cannot be loaded from C++ (QT)
Replies: 4
Views: 5361

Re: PB6.10+ ARM : DYLIB cannot be loaded from C++ (QT)

I made a mistake, it's only on MacOS (ARM and x64) with the "C Backend" compiler. You should be able to put the thread back in "Bugs - MacOS"
by Niffo
Mon Nov 18, 2024 5:33 pm
Forum: Bugs - Mac OSX
Topic: PB6.10+ ARM : DYLIB cannot be loaded from C++ (QT)
Replies: 4
Views: 5361

Re: PB6.10+ ARM : DYLIB cannot be loaded from C++ (QT)

In fact, DLL generation seems to be problematic with the "C - Backend" compiler. Indeed, our library crashes even under MacOS Intel (x64) when compiled with PureBasic > 6.02.
by Niffo
Fri Nov 15, 2024 4:13 pm
Forum: Bugs - Mac OSX
Topic: PB6.10+ ARM : DYLIB cannot be loaded from C++ (QT)
Replies: 4
Views: 5361

PB6.10+ ARM : DYLIB cannot be loaded from C++ (QT)

The following code compiled as a shared dylib with PB6.10 ARM (and newer) cannot be opened by a C++ (QT) program. (QLibrary.load() never returns).
The problem does not exist if compiled with PB6.04 ARM.
GetCurrentDirectory() is a content that allow to reproduce but it is not the only one ...
by Niffo
Sat Jul 22, 2023 12:02 pm
Forum: Bugs - IDE
Topic: [6.02 LTS] "Enable OnError" option does not reset
Replies: 0
Views: 974

[6.02 LTS] "Enable OnError" option does not reset

In "Compiler Options" window, the "Enable OnError" option does not reset when changing targets
by Niffo
Tue Jan 18, 2022 7:25 pm
Forum: Announcement
Topic: PureBasic 6.00 released !
Replies: 626
Views: 215312

Re: PureBasic 6.00 Beta 2 released !

Update of my test previously done with Alpha 5.
With PB6 64 Beta 2 Windows - C backend :
- One medium project (20000 lines, based on OpenGL) does compile and perfectly runs this time ! :) (previously crash at launch time)
- One big project (70000 lines) does compile and launches the EXE ...
by Niffo
Thu Sep 30, 2021 4:04 pm
Forum: Announcement
Topic: PureBasic 6.00 released !
Replies: 626
Views: 215312

Re: PureBasic 6.00 Alpha 5 released !

User_Russian wrote: Thu Sep 30, 2021 3:31 pm Bad idea!
I sometimes develop plugins (DLL) for applications of other developers. How to load x64 DLL in x86 application?
Use PB 5.xx 32bits ?
by Niffo
Thu Sep 30, 2021 3:09 pm
Forum: Announcement
Topic: PureBasic 6.00 released !
Replies: 626
Views: 215312

Re: PureBasic 6.00 Alpha 5 released !


Maybe it is time to think about only supporting 64-bit.
Maybe 6.00 could be a LTS and 7.00+ only support 64-bit.


+1 and i would say even more : No 32 bits support needed in 6.00 :lol:
- Last MacOS doesn't support 32 bits
- Linux has no 32 bits support (by default) in 64 bits installations and ...
by Niffo
Wed Sep 29, 2021 11:02 am
Forum: Announcement
Topic: PureBasic 6.00 released !
Replies: 626
Views: 215312

Re: PureBasic 6.00 Alpha 5 released !

Thank you Fred, it's very impressive !
On my side, with PB6 64 Alpha 5 - C backend :
- One medium project (20000 lines, based on OpenGL) does compile but crashes at launch time.
- One big project (70000 lines) does not compile but has many less errors (only 5 this time) than with previous PB6 Alpha.
by Niffo
Thu Feb 06, 2020 4:23 pm
Forum: Announcement
Topic: PureBasic OpenSource Projects
Replies: 123
Views: 172390

Re: PureBasic OpenSource Projects

Marc56us wrote: :idea: Would a talented graphic designer and coder be able to create and add the Windows 10 skin to the list of existing skins in the Form Designer resources?
You ? :mrgreen:
by Niffo
Thu Dec 05, 2019 9:14 am
Forum: Announcement
Topic: PureBasic OpenSource Projects
Replies: 123
Views: 172390

Re: PureBasic OpenSource Projects

What a nice news ! Will try to contribute (especially in the Form Designer) if i can find time.
by Niffo
Sun Dec 01, 2019 1:15 pm
Forum: 3D Programming
Topic: PB 5.51 GL Constants
Replies: 8
Views: 6430

Re: PB 5.51 GL Constants

Thank you very much for the file benmalartre !
In the meantime (near 3 years :D ), i managed to write my own openGLExt.pbi file containing only my needs.
Here it is http://niffo.free.fr/purebasic/glext_imp.pbi
by Niffo
Fri Nov 08, 2019 6:51 pm
Forum: Mac OSX
Topic: QuickTime video player for Cocoa
Replies: 23
Views: 14504

Re: QuickTime video player for Cocoa

+1
viewtopic.php?f=24&t=73941

... but not the time to wait and before that (few years), PB Movie library was not complete/stable. Do not know if it is stable now.
by Niffo
Fri Nov 08, 2019 6:28 pm
Forum: Mac OSX
Topic: QuickTime video player for Cocoa
Replies: 23
Views: 14504

Re: QuickTime video player for Cocoa

For those who would be interested, here is how to :

- Play the media :
CocoaMessage(0, Player, "play")
- Pause the media :
CocoaMessage(0, Player, "pause")
- Seek the media
Structure CMTime ;{
value.q ; Int64_t
timeScale.l ; Int32_t
flags.l ; UInt32_t
CMTimeEpoch.q ; Int64_t
EndStructure ...
by Niffo
Thu Nov 07, 2019 4:11 pm
Forum: Mac OSX
Topic: QuickTime video player for Cocoa
Replies: 23
Views: 14504

Re: QuickTime video player for Cocoa

Wilbert ... I love you ! <3
by Niffo
Wed Nov 06, 2019 3:38 pm
Forum: Mac OSX
Topic: QuickTime video player for Cocoa
Replies: 23
Views: 14504

Re: QuickTime video player for Cocoa

Hi Wilbert and Fsw,

Since QTKit/QTMovie (based on Quicktime 7, wich is 32 bits) is no more supported in MacOS 10.15 Catalina, i am trying to update my custom movie library with AVKit/AVFoundation.
I started using your code Wilbert, but i need to implement more functions like seeking into the video ...