[Gambas-user] [CRASH REPORT] CommandLine App

2016-02-20 Thread Lee
Hello, Damned, my program crashed Gambas! The program crashes on quit after having read a string from a DBus-registered application. It apparently has no problem after reading a boolean or an array. -- Lee __ "Artificial Intelligence is no match for natural stupidity." CommandLi

[Gambas-user] Solved: Incorrect: Re: 'Single instance' app cannot reuse DBus.Name

2016-02-20 Thread T Lee Davidson
On 02/20/2016 01:13 PM, T Lee Davidson wrote: > On 02/20/2016 07:32 AM, T Lee Davidson wrote: >> >> >> Problem solved! :-) >> >> > > Well I *thought* the problem was solved. Apparently I spoke to soon from > behind bleary eyes. > So here I thought I was helping others who may have been in the sam

Re: [Gambas-user] 'Single instance' app cannot reuse DBus.Name

2016-02-20 Thread T Lee Davidson
On 02/20/2016 07:32 AM, T Lee Davidson wrote: > > > Problem solved! :-) > > > Well I *thought* the problem was solved. Apparently I spoke to soon from behind bleary eyes. Lee __ "Artificial Intelligence is no match for natural stupidity." -

[Gambas-user] 'Single instance' app cannot reuse DBus.Name

2016-02-20 Thread T Lee Davidson
A single instance application is one in which only one instance is allowed to be running at the same time. Checking for an existing instance is quite regularly done simply with some sort of lock file or socket. If a lock is found, then just quit the app. But suppose you want to pass the current

Re: [Gambas-user] DBus.IsRegistered --> Unknown symbol

2016-02-20 Thread T Lee Davidson
On 02/20/2016 04:02 AM, Benoît Minisini wrote: > Le 20/02/2016 09:58, Benoît Minisini a écrit : >> >> I think I add this method in a more recent version of Gambas and forgot >> to specify it in the wiki... >> > > Yep, this method exists only since Gambas 3.8.2... > Ah, okay. My workaround is suffi

Re: [Gambas-user] DBus.IsRegistered --> Unknown symbol

2016-02-20 Thread Benoît Minisini
Le 20/02/2016 09:58, Benoît Minisini a écrit : > > I think I add this method in a more recent version of Gambas and forgot > to specify it in the wiki... > Yep, this method exists only since Gambas 3.8.2... -- Benoît Minisini -

Re: [Gambas-user] DBus.IsRegistered --> Unknown symbol

2016-02-20 Thread Benoît Minisini
Le 20/02/2016 09:05, T Lee Davidson a écrit : > I am developing an application that conditionally registers an object on the > DBus session bus. I have to use the Form_Close > event to, if it was registered, unregister the object or the form will close > but the application will not stop. > > Bas

[Gambas-user] DBus.IsRegistered --> Unknown symbol

2016-02-20 Thread T Lee Davidson
I am developing an application that conditionally registers an object on the DBus session bus. I have to use the Form_Close event to, if it was registered, unregister the object or the form will close but the application will not stop. Based on http://gambaswiki.org/wiki/comp/gb.dbus/dbus/isreg