Author Topic: Unicode Bug in v9.10  (Read 1312 times)

moelski

  • Full Member
  • ***
  • Posts: 122
    • View Profile
Unicode Bug in v9.10
« on: October 06, 2010, 03:22:57 am »
Hi Roman,

in D2010 I got a strange view if I use nrHID and nrDeviceBox.

Just place nrHid and nrDeviceBox to a form.
Assign devicebox to nrHid.
Set nrHid to "EnumFullMode".

sometimes I got the result as in the 2 pictures.

And another question about the names in the device box ...
If enumfullmode is off I got (for example):
Logitech HID-compliant G3/MX518 Optical Mouse
If enumfullmode is on I got:
USB-PS/2 Optical Mouse

So in EnumFullmode the information is less than in normal mode  ???

Greetz Dominik

Roman Novgorodov

  • Engineer
  • Administrator
  • Hero Member
  • *****
  • Posts: 994
  • we will win
    • View Profile
    • Forums.nrCommLib.Com
Re: Unicode Bug in v9.10
« Reply #1 on: October 07, 2010, 05:25:47 am »
Hello

Thank you for information.

We will check problem with Unicode string and fix it asap.

About EnumFullmode.
When this mode is true, TnrHid component requests string descriptors from HID device directly. "USB-PS/2 Optical Mouse" is returned by device chipset.
When EnumFullmode mode is false, component uses string description that are provided by installed device driver. "Logitech HID-compliant G3/MX518 Optical Mouse" is string description from driver file (.INF).

Roman Novgorodov
DeepSoftware.Com
DeepSoftware llc - The professional components for Delphi/CBuilder/.NET. The high quality custom software development.
Forums.nrCommLib.Com - DeepSoftware Tech Support Forum.

moelski

  • Full Member
  • ***
  • Posts: 122
    • View Profile
Re: Unicode Bug in v9.10
« Reply #2 on: October 11, 2010, 09:02:09 am »
Hi Roman,

Quote
We will check problem with Unicode string and fix it asap.
Could you find the problem?
And is there an estimated release date for 9.12?

Greetz Dominik

Roman Novgorodov

  • Engineer
  • Administrator
  • Hero Member
  • *****
  • Posts: 994
  • we will win
    • View Profile
    • Forums.nrCommLib.Com
Re: Unicode Bug in v9.10
« Reply #3 on: October 11, 2010, 10:00:37 am »
Hello Dominik

We tested library on RAD 2010 and RAD XE with all available HID devices.
Unfortunately we can not reproduce trouble with wrong chars.
Please give more information about your HID device and step description how do you get different situations on the pictures.

It is not UNICODE problem because first 5 devices are visible correctly. It is problem in device that returns string descriptors non correctly. Or problem is in device driver.

Roman Novgorodov
DeepSoftware.Com

DeepSoftware llc - The professional components for Delphi/CBuilder/.NET. The high quality custom software development.
Forums.nrCommLib.Com - DeepSoftware Tech Support Forum.

moelski

  • Full Member
  • ***
  • Posts: 122
    • View Profile
Re: Unicode Bug in v9.10
« Reply #4 on: October 11, 2010, 10:26:18 am »
Hi Roman,

after some advanced searching I found the problem ...

I have a bluetooth mouse. But this mouse is actually not connected to my computer.
In the device box I got two HID devices for this not connected mouse  :o

After deleting the Bluetooth pairing all is fine now.

It seems that the mouse has a really buggy driver or it´s a fault of my bluetooth stack ...

Greetz Dominik

Sorry for the false warning.