It is currently Mon Jul 24, 2017 7:33 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Abort Signal -dylib -strange
PostPosted: Thu May 18, 2017 9:26 pm 
Offline
Enthusiast
Enthusiast

Joined: Sat Mar 02, 2013 9:17 am
Posts: 508
PB560 Mac
Hi
What is this, i can absolutely not localize or understand ?
On Linux and Windows all works fine

As sample :
I have a little Window on the desktop
Now i call a function in a dylib
This function open also a little Window inside the dylib and make a progressbar
Is the function ready, it close the progressbar window again

The Problem is :
Is in the dylib loop a WindowEvent call, it crash and mean : Abort Signal : Error Code 6

Its only a problem the code is used as dyLib !

A dylib call without a desktop window works

Opening a window after the dylib call with a window event inside crash also

Its simple for making a demo code for this, but, with the dylib not usable for the forum

_________________
http://www.nachtoptik.de
BucketFill advanced -GFX FOR IMAGES & CANVAS: http://www.purebasic.fr/english/viewtopic.php?f=12&t=66927
QUICK-AES-256 -SUITE & DLL/SO & RSA: http://www.purebasic.fr/english/viewtopic.php?f=27&t=60507


Top
 Profile  
Reply with quote  
 Post subject: Re: Abort Signal -dylib -strange
PostPosted: Thu May 18, 2017 9:37 pm 
Offline
PureBasic Expert
PureBasic Expert

Joined: Sun Aug 08, 2004 5:21 am
Posts: 2930
Location: Netherlands
On OSX updating the gui has to be done from the main thread.
Maybe it has to do with this :?

_________________
MacOS 10.12, PB 5.51 x64


Top
 Profile  
Reply with quote  
 Post subject: Re: Abort Signal -dylib -strange
PostPosted: Thu May 18, 2017 9:53 pm 
Offline
Enthusiast
Enthusiast

Joined: Sat Mar 02, 2013 9:17 am
Posts: 508
Many thanks for your answer Wilbert

I think, this is it !

_________________
http://www.nachtoptik.de
BucketFill advanced -GFX FOR IMAGES & CANVAS: http://www.purebasic.fr/english/viewtopic.php?f=12&t=66927
QUICK-AES-256 -SUITE & DLL/SO & RSA: http://www.purebasic.fr/english/viewtopic.php?f=27&t=60507


Top
 Profile  
Reply with quote  
 Post subject: Re: Abort Signal -dylib -strange
PostPosted: Mon May 22, 2017 8:50 am 
Offline
Enthusiast
Enthusiast

Joined: Sat Mar 02, 2013 9:17 am
Posts: 508
It's just like wilbert says
It looks, macOS can not handle the window output from the dylib
The QAES Suite run on Mac, but the suite use the dylib content directly
I will to time not make a separately suite for Mac
The needed text size for the little suite buttons on mac OS is very little, not good readable
And changing the complete suite GUI for a optimized output on mac OS a lot of work

_________________
http://www.nachtoptik.de
BucketFill advanced -GFX FOR IMAGES & CANVAS: http://www.purebasic.fr/english/viewtopic.php?f=12&t=66927
QUICK-AES-256 -SUITE & DLL/SO & RSA: http://www.purebasic.fr/english/viewtopic.php?f=27&t=60507


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye