On 4/23/10 12:47 AM, Hans Leidekker wrote:
>>> We should investigate if the native server can be used by Photoshop.
>>> Then we could write a stub Bonjour service so that Photoshop will not
>>> attempt to install its own version.
>>
>> One question about making a Windows service: would the programs still
>> be making calls to the DLL? Or would the be making calls to the service?
>> If they're making calls to the DLL, wouldn't something be needed to route
>> those calls to the OS-native dns-sd implementation?
> 
> I would assume that applications bundle a version of dns-sd because it's
> not a Windows dll. If that version cannot be used for some reason then
> we can think about adding a wrapper.
>From reading the source, it looks like the DLL makes calls to the
service via TCP or UDP sockets (same as on UNIX). Apple purposely
designed it that way to make it more portable. I think that we can use
the ordinary dns-sd DLL (instead of writing a wrapper), and have it talk
to the native server instead of one running inside Wine because of this.

Chip


Reply via email to