mherger wrote: 
> > Now that I recall, running multiple instances of the EXE may not be
> > possible. The issue I ran into was that it never picked up the
> > command-line option pointing to a different prefs folder. Works with
> the
> > Perl code.
> 
> I thought I had fixed this almost exactly one year ago:
> 
> https://github.com/Logitech/slimserver/commit/1b92e24b7cab860c98b099c65916ddbedf766c66

Here's a problem with that... You've hard-coded in the name of the
service and registry key. If the OP wanted to run multiple instances as
Windows services, then it won't work.


Code:
--------------------
    
  +                     my $swKey = $Win32::TieRegistry::Registry->Open(
  +                             
'LMachine/System/ControlSet001/services/squeezesvc', 
  
--------------------


I know that same service name would be hard coded in the Control Panel
where the service is created, but like I said above, you'd install any
additional LMS services manually using a tool such as sc. I would have
to think there's a way that you can retrieve the service name and/or
registry key used to launch the Windows service.


------------------------------------------------------------------------
JJZolx's Profile: http://forums.slimdevices.com/member.php?userid=10
View this thread: http://forums.slimdevices.com/showthread.php?t=105253

_______________________________________________
Squeezecenter mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/squeezecenter

Reply via email to