Search found 6 matches

by JFB
Sun Oct 09, 2022 11:10 pm
Forum: Developer's Forum for Windows
Topic: Profile name format with .NET
Replies: 12
Views: 22517

Re: Profile name format with .NET

Thanks, it works!

it's a pity that the key is of type uft8 in the constructor of the base class CommandTreeNode, it doesn't help to understand it wants ASCII string.
by JFB
Fri Oct 07, 2022 7:01 am
Forum: Developer's Forum for Windows
Topic: Profile name format with .NET
Replies: 12
Views: 22517

Re: Profile name format with .NET

Sorry I agree with you it is not related to the COM exception by setting Unicode text into the profile name, but as it relies to the same problem using Unicode into the title bar on the SpaceMouse, I was thinking it was the right place for this problem. The sample I provided here is just to reprodui...
by JFB
Fri Oct 07, 2022 5:27 am
Forum: Developer's Forum for Windows
Topic: Profile name format with .NET
Replies: 12
Views: 22517

Re: Profile name format with .NET

Please find here the sample
TestSpaceMouseUTF8.zip
Sample
(79.73 KiB) Downloaded 438 times
, uncomment lines to test different ways.
by JFB
Thu Oct 06, 2022 11:01 pm
Forum: Developer's Forum for Windows
Topic: Profile name format with .NET
Replies: 12
Views: 22517

Re: Profile name format with .NET

< > are the delimiters just for here, the strings are "Pièces" and "Page d'accueil", I pass them as string type as well as Utf8String type without success.
by JFB
Thu Oct 06, 2022 6:36 am
Forum: Developer's Forum for Windows
Topic: Profile name format with .NET
Replies: 12
Views: 22517

Re: Profile name format with .NET

Hi, Thank you for the fix on Open3DMouse, it works. I have found another behavior on the title with ASCII format when I set a CommandSet with Unicode text. Using the constructor of CommandSet with <name> and <label> parameters shows for the label <Pièce> the text <Pièce>, and for the text <Page d'a...
by JFB
Tue Jul 05, 2022 2:43 am
Forum: Developer's Forum for Windows
Topic: Profile name format with .NET
Replies: 12
Views: 22517

Profile name format with .NET

Hello all, Developing in C# for an application (.NET 4.7.2), I'm using the wrapper in the SDK 4 to connect the SpaceMouse. To connect the device by using the method Open3DMouse(string), I have to enter a profile name. Setting a name having letters with accent (like 'Pièce') raises the COM exception ...