6.9 Error WideCharToMultibyte failed?

Need help? Ask here and someone will help
Post Reply
GIMX_NOS_2
Posts: 5
Joined: Wed Oct 18, 2017 9:00 pm

6.9 Error WideCharToMultibyte failed?

Post by GIMX_NOS_2 » Wed Oct 18, 2017 9:19 pm

Hi, I have recently upgraded to the 6.9 version of G.I.M.X. and am getting this error. The screen reads: "windows/rawinput.c:416 utf161e_to_utf8: WideCharToMultibyte failed with error: The data area passed to a system call is too small." This message repeats 6 times (total of 7 lines). Does anyone have a clue what might cause this? It seams that my adapter is working properly although I get this error message(s). I did not get this error message in previous versions. Any help would be appreciated. I am working in a Windows 7 environment and console is PS4.

User avatar
Matlo
Posts: 4451
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: 6.9 Error WideCharToMultibyte failed?

Post by Matlo » Wed Oct 18, 2017 9:26 pm

Hi,
I got another report about this issue. Could you please generate a log file a post it?
Just select "log file" in the "messages" drop down menu, and click on start. Stop GIMX and post the contents of the log file.
GIMX creator Donate Shop

GIMX_NOS_2
Posts: 5
Joined: Wed Oct 18, 2017 9:00 pm

Re: 6.9 Error WideCharToMultibyte failed?

Post by GIMX_NOS_2 » Wed Oct 18, 2017 10:00 pm

Hi Matlo, Here it is:
global option -l with value `log.txt'
global option -c with value `My G25.xml'
controller #1: option -p with value `COM4'
now reading arguments for controller #2
grab flag is unset
status flag is set
subpos flag is set
force_updates flag is set
GIMX 6.9 i386
Windows 7 SP1 x86
Kernel version: 6.1 (7601)
USB adapter detected, controller type is: G29 PS4.
found pass-through device 0x054c:0x05c4
Timer resolution: min=156001 max=5000 current=5000
using default refresh period: 5.00ms
joystick 0 has name 'PS4 Controller' and virtual id 0
joystick 1 has name 'Logitech G25 Racing Wheel USB' and virtual id 0
macros are not available for: joystick Logitech G25 Racing Wheel USB (0)
Warning: can't open macro directory C:\Users\Nick\AppData\Roaming//gimx//macros/
FFB device: Logitech G25 Racing Wheel USB 0 (direct translation).
Press the PS button to activate the controller.
0 1508363266.412819, wheel (1364)
0 1508363273.772240, wheel (1364), options (255)
0 1508363273.987252, wheel (1364)
Exiting
windows/rawinput.c:416 utf16le_to_utf8: WideCharToMultiByte failed with error: The data area passed to a system call is too small.


windows/rawinput.c:416 utf16le_to_utf8: WideCharToMultiByte failed with error: The data area passed to a system call is too small.


windows/rawinput.c:416 utf16le_to_utf8: WideCharToMultiByte failed with error: The data area passed to a system call is too small.


windows/rawinput.c:416 utf16le_to_utf8: WideCharToMultiByte failed with error: The data area passed to a system call is too small.


windows/rawinput.c:416 utf16le_to_utf8: WideCharToMultiByte failed with error: The data area passed to a system call is too small.


windows/rawinput.c:416 utf16le_to_utf8: WideCharToMultiByte failed with error: The data area passed to a system call is too small.


windows/rawinput.c:416 utf16le_to_utf8: WideCharToMultiByte failed with error: The data area passed to a system call is too small.

User avatar
Matlo
Posts: 4451
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: 6.9 Error WideCharToMultibyte failed?

Post by Matlo » Thu Oct 19, 2017 7:19 am

The other user was running GIMX on the same Windows version. This will help me understand and fix the issue. Thanks.
GIMX creator Donate Shop

GIMX_NOS_2
Posts: 5
Joined: Wed Oct 18, 2017 9:00 pm

Re: 6.9 Error WideCharToMultibyte failed?

Post by GIMX_NOS_2 » Thu Oct 19, 2017 1:53 pm

OK, thanks. Should I revert back to 6.8 or just wait while you investigate this? 6.9 seems to be working OK but I just keep getting that error message.

User avatar
Matlo
Posts: 4451
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: 6.9 Error WideCharToMultibyte failed?

Post by Matlo » Thu Oct 19, 2017 1:55 pm

It should only affect mouse and keyboard controls.
GIMX creator Donate Shop

GIMX_NOS_2
Posts: 5
Joined: Wed Oct 18, 2017 9:00 pm

Re: 6.9 Error WideCharToMultibyte failed?

Post by GIMX_NOS_2 » Thu Oct 19, 2017 2:05 pm

Hi Matlo, Thanks for the quick response. That explains why I have not had any issues I am only using it to convert the Logitech G25 to the PS4 and it is working fine. The steering wheel input and all of the buttons are working correctly even the ones that I have remapped. I will just ignore the error messages for now. Thanks again.

GIMX_NOS_2
Posts: 5
Joined: Wed Oct 18, 2017 9:00 pm

Re: 6.9 Error WideCharToMultibyte failed?

Post by GIMX_NOS_2 » Thu Oct 19, 2017 2:11 pm

Matlo may I ask you another question? The line in my log report which reads: Warning: can't open macro directory C:\Users\Nick\AppData\Roaming//gimx//macros/ should this be of concern?

Post Reply