There's already an equivalent to this, which should be use instead:
> const CDaliVersion &queryDaliServerVersion();