Problems using dbus in a windows service

Nico Höss nicohoess at gmail.com
Tue Aug 6 07:35:57 PDT 2013


Gianluca Ghelli <gghelli at ...> writes:

> 
> 
> Hello everybody,
> 
> I've been using the windows port of DBus for a while and it worked very 
well but I have now developed an application working as a windows system 
service and it hangs when it tries to connect to the dbus-daemon on the 
usual default port tcp:12434.
> I also tried to launch the dbus-deamon as an NT Service using the WIndows 
2008 sdk utilities instsrv.exe and runsrv.exe, it starts but you cannot 
connect to it. 
> I'm using:
> 
> - Windows 7 64 bit Professional- WinDBUS  1.24 and 1.6.x, the latter 
compiled winth msvc-10 and mingw
> 
> In the CMakefile there is a dbus-windows-service.c file enabled if you 
check the option to enable the windows ervice but the file is missing also 
from the Git head.
> I wasn't able to understand why the DBus daemon is having troubles to work 
with windows services, does anybody have any suggestion? 
> Thank you very much
> 
> Gianluca Ghelli
> 
> 
> 
> 
> 
> _______________________________________________
> dbus mailing list
> dbus at ...
> http://lists.freedesktop.org/mailman/listinfo/dbus
> 

I have the same issue running on Windows XP embedded and I am struggling 
with it for some days now.

Is there a working solution?






More information about the dbus mailing list