9 posts / 0 new
Last post
wwall
An Instance of Spokes is already running / C# InteropPlantronics.dll
Hello, When I create an instance COMSessionManager sessionManager =new COMSessionManager() while the Plantronics Hub is running, the SDK pops up a message box "An Instance of Spokes is already running". How do I get rid of that message box? Interop.Plantronics.dll 3.7.51238.28796 Plantronics Hub    3.7.51238.28796 Best regards Wolfgang

lcollins
Hi Wolfgang,

Please take a look at this registry key:
HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{750B4A16-1338-4DB0-85BB-C6C89E4CB9AC}\LocalServer32

You should see the PLTHub.exe listed here as a COM Server under (Default), possibly with Backup as as the SDK version of PLTHub.exe.

Look in task manager, is PLTHub.exe already running? In theory your COMSessionManager instance should connect to the already running instance. This may not be the case if your application or Visual Studio is running as Administrator.

Your application and/or Visual Studio should be running as the same interactive user as the running PLTHub.exe instance is running at. If one or other is running as Administrator you could see the issue you mention.

Thanks,
Lewis.

wwall
Hi Lewis, yes, this is reasonable. I can reproduce it in both directions: - When Plthub is running with elevated privileges, I cannot access it "without" elevation - When Plthub is not running with elevated privileges, I cannot access I'm launching my app from an elevated dev studio So this should not be an issue on customer site. Thanks Wolfgang

lcollins
Great, thanks for letting us know.
Get in touch if you have further questions.
 

k1o5
But it is a problem on a single  machine with multiple profiles (log ins) each with different user rights.  Is there a work around?

k1o5
Only the Hub is running and it is only used to update the firmware in the earpiece. I'll just uninstall it if there is not an easy fix.

lcollins
Hi,
The Hub only supports single user login to Windows. If you switch users, you will see the error that Hub is already running. (Because Hub is a per-interactive user process, rather than a service).
Thanks,
Lewis.

RDF
Is there a mechanism to request a software enhancement to account for this? I share this computer with one other person and they complain whenever they see the message.  I would prefer not to uninstall the software.

nasers1
You request has been forwarded to product management for consideration in a future release.  Thanks for the feedback.

Add new comment