[Gambas-user] D-Bus method with a complex data type triggers an error

Hans Lehmann hans at gambas-buch.de
Tue Mar 13 20:16:12 CET 2018


Hello,

the error is found. Rrrrrr!
It was a simple mistake when declaring the collection cTemperature, 
which I had always overlooked - because I suspected the error in other 
classes:

   Dim cTemperature As Collection

   ...

   cTemperature = New Collection

   cTemperature.Add(f1, "T") ' Temperature
   cTemperature.Add(s3, "L") ' Label
   cTemperature.Add(s4, "S") ' Scale

The D-Bus server and the D-Bus client now work as expected!

With kind regards

Hans


More information about the User mailing list