[Gambas-user] Dbus registers wrong name?

Bruce Steers bsteers4 at gmail.com
Tue Dec 21 18:47:50 CET 2021


On Tue, 21 Dec 2021 at 17:05, Cristiano Guadagnino <criguada at gmail.com>
wrote:

> Il giorno mar 21 dic 2021 alle ore 17:56 Bruce Steers <bsteers4 at gmail.com>
> ha scritto:
>
>> 1. you have not set DBus.Name
>> initialise like this...
>>
>>
>>
>>
>> *   Application.MainWindow = Me    DBus.Unique = True    DBus.Name =
>> DBUSTEST_DBUS_NAME    hDbusObj = New DbusObj*
>>
>>
> Hey, thank you Bruce, it worked a treat!
> And thank you also for your suggestion on the SystemTray.
>
> Cris
>

About the SystemTray tip..
Sorry it might be *Static Public Sub _init()* where you need to set
DBus.Name not *_new()*

You're welcome :)
BruceS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20211221/b6246ba9/attachment.htm>


More information about the User mailing list