Search found 19 matches

by Offin
Mon Dec 07, 2020 6:16 pm
Forum: Mac OSX
Topic: Internet app - OpenLibrary(dylib) returns 0
Replies: 8
Views: 3049

Re: Internet app - OpenLibrary(dylib) returns 0

@ mk-soft
Thank you very much for this code.
It works now.

FYI, we were using a relative path to load the library, and it does not work with Big Sur.
It is now ok with an absolute path, whatever is the library location (in folder "library" or at "app" folder level).

Thank you all for your precious ...
by Offin
Fri Dec 04, 2020 8:22 pm
Forum: Mac OSX
Topic: Internet app - OpenLibrary(dylib) returns 0
Replies: 8
Views: 3049

Re: Internet app - OpenLibrary(...dylib) returns 0

We made an APP package with all files (including the dylib file) into the folder "OurProgram.app/Contents/".
But still same problem: the function OpenLibrary(#PB_Any, "OurPBLibrary.dylib") in the app returns 0.

May be some keys to add in the plist file ?

PS: any example of an app with a PB dylib ...
by Offin
Fri Dec 04, 2020 4:13 pm
Forum: Mac OSX
Topic: Internet app - OpenLibrary(dylib) returns 0
Replies: 8
Views: 3049

Re: Error loading library 'xxx.dylib' !

The dylib is presently at same level than the app file/folder.
We were a bit lazy to do this change.
But this time we may not have other choice with the recent new OS "Big Sur".

We will work on that.

Thank you for your answer.
by Offin
Fri Dec 04, 2020 12:21 pm
Forum: Mac OSX
Topic: Internet app - OpenLibrary(dylib) returns 0
Replies: 8
Views: 3049

Internet app - OpenLibrary(dylib) returns 0

Hello,

My software contains a binary file (.app) and a library file (.dylib).
Both are compiled with PB 5.73.
They are signed (with hardened runtime option).
A DMG is made with these files.
The DMG is signed and notarized (with my Apple ID developper)
No problem until now.
The DMG is uploaded on ...
by Offin
Wed Oct 04, 2017 3:54 pm
Forum: Announcement
Topic: PureBasic 5.44 LTS is available !
Replies: 43
Views: 28795

Re: PureBasic 5.44 LTS is available !

Answered via PM.
by Offin
Wed Oct 23, 2013 10:04 am
Forum: Coding Questions
Topic: TreeGadget() > GetSubLevels() ?
Replies: 5
Views: 3290

Re: TreeGadget() > GetSubLevels() ?

Thanks to your code, i am now able to retreive the complete details of the selected line (including the names of its SubLevels), in a TreeGadget().
It works well.
Thank you very much for your help.
by Offin
Tue Oct 22, 2013 5:18 pm
Forum: Coding Questions
Topic: TreeGadget() > GetSubLevels() ?
Replies: 5
Views: 3290

Re: TreeGadget() > GetSubLevels() ?

Thank you for your help, but this is not what i am looking for.
Following your example, for instance, if i click on the line "Cherry", i would like to be informed that the name of the upper sublevel is "Fruits"
by Offin
Mon Oct 21, 2013 11:31 pm
Forum: Coding Questions
Topic: TreeGadget() > GetSubLevels() ?
Replies: 5
Views: 3290

TreeGadget() > GetSubLevels() ?

Hi,

Is there a way to retreive the complete details of the selected line (including the names of its SubLevels), in a TreeGadget() ?
by Offin
Sun May 30, 2010 4:04 pm
Forum: Mac OSX
Topic: the special character "cmd"
Replies: 3
Views: 2209

Re: the special character "cmd"

Works great.
Thanks Niffo.
by Offin
Wed May 26, 2010 11:54 am
Forum: Mac OSX
Topic: the special character "cmd"
Replies: 3
Views: 2209

the special character "cmd"

Could you please tell me how to display the special character for "cmd" ?
I mean the character which is displayed on the cmd key of the MacBook computer.
I would like to put it in the menu (SetMenuItemText()).
by Offin
Wed Dec 16, 2009 4:29 pm
Forum: Feature Requests and Wishlists
Topic: Compiler option -> Use icon (Windows & MacOS)
Replies: 2
Views: 1027

Compiler option -> Use icon (Windows & MacOS)

I propose my application for Windows and MacOS.
Each time i change the source code, i have to re-compile one executable file for Windows + another executable file for MacOS.
Before re-compiling, i have to set the correct icon for the application (Compiler option -> Use icon).

I would love if we ...
by Offin
Thu Nov 12, 2009 2:51 pm
Forum: Feature Requests and Wishlists
Topic: EventLoop not allways executed on Windows and MacOS
Replies: 7
Views: 1829

Re: EventLoop not allways executed on Windows and MacOS

My application must send continuously an udp streaming, and i would like to use the PopupMenu item.
Right now, i have no choice to forget the PopupMenu and to find a workaround.
Just to tell you that PopupMenu which keeps EventLoop access would be great also for me.
by Offin
Fri Sep 25, 2009 8:27 am
Forum: Mac OSX
Topic: [PB4.31_x86] .APP needs more processor time than .EXE
Replies: 5
Views: 2283

Re: [PB4.31_x86] .APP needs more processor time than .EXE

Ok.
Thank you for your quick answer.
by Offin
Thu Sep 24, 2009 11:06 am
Forum: Mac OSX
Topic: [PB4.31_x86] .APP needs more processor time than .EXE
Replies: 5
Views: 2283

Re: [PB4.31_x86] .APP needs more processor time than .EXE

I simply get the information from the "Windows Task Manager" screen (section "process"), and from the Osx "Activity Monitor" screen.
Without this code running, the processor is 99% free on both operating systems.