gs on MacOS X in R9B-0

Sean Hinde Sean.Hinde@REDACTED
Wed Oct 23 14:40:10 CEST 2002


> The 8.4.0 Tcl/Tk distribution has a but in the MacOS X code that break
> the usage of a pipe from Erlang to the wish program. I patched the
> source and does work. The CVS version has a fix for the problem but I
> haven't tried it yet.
> 
> There is not support in GS for "the MacOS X way" of finding the
> executable yet so you need to create a link to athe wish executable as
> Sean suggests,

So, I downloaded the latest CVS sources last night and compiled them up this
morning. And, what do you know - toolbar:start() produced a splendid Aqua
rendition.

Trouble now is that I can't make it active. Clicking in the toolbar window
brings the error:

SetFrontProcess failed,-606.

A bit of digging reveals that -606 means appIsDaemon - "Application is
background only". The docs for this Carbon routine say that
SetFrontProcess() will not work if the process is a background-only
application.

So, next question. How do we make ourselves into a foreground application?
Or failing that any other ideas?

Sean



NOTICE AND DISCLAIMER:
This email (including attachments) is confidential.  If you have received
this email in error please notify the sender immediately and delete this
email from your system without copying or disseminating it or placing any
reliance upon its contents.  We cannot accept liability for any breaches of
confidence arising through use of email.  Any opinions expressed in this
email (including attachments) are those of the author and do not necessarily
reflect our opinions.  We will not accept responsibility for any commitments
made by our employees outside the scope of our business.  We do not warrant
the accuracy or completeness of such information.




More information about the erlang-questions mailing list