RoZeroConfHub, not working with "stopped" Bonjour server

Hello Remobjects team,

on my development VM (XP 32-bit) I have Bonjour installed.

I have written a simple test service that advertizes its service successfully in the network using Bonjour. Now I wanted to test RoZeroConfHub.exe instead of Bonjour because it might make deployment simpler, so I took the following steps:

1 - disable the bonjour service in the service manager
2 - disable my firewall
2 - copy ROZeroconfhub.exe into the same directory as my executable
3 - set the “AutoStartZeroConfHub” property to TRUE in my tRoZeroConfRegistration.

when I start my application, I see that it starts the ZeroCenfHub executable in the background (I see the icon in the task bar). However, my service isn’t advertized in the network. When I re-start the Bonjour service, all is well again.

Am I doing something wrong, or is a “stopped” Bonjour service by itself an obstacle for ZeroConfHub?

Hello,

Thanks for the report, the issue was logged as #54800.

Best regards

you can apply this fix:

uROZeroConfHub.pas:

function TZeroConfHubClient.LaunchHub: Boolean;

RootKey := HKEY_CURRENT_USER; //changed

Note: TROZeroConfRegistration will launch ZeroConfHub.exe with enabled AutoStartZeroConfHub property from path that is found in registry so “copy ROZeroconfhub.exe into the same directory as my executable” won’t work anyway