I think you could determine if slim.exe is being run as a service from the Parent Process as most times it is svchost.exe but it is quite complex to to find the parent of a process.
Rather than trying to detect all situations, why not make it an commandline option or preference to use/not use socketwrapper. Individual user could then override the option if they wish. -- bpa ------------------------------------------------------------------------ bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=35985 _______________________________________________ beta mailing list beta@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/beta