Re: Problem with PowerBuilder 6-based app

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>I used the "WINEDEBUG=+nls" param when executing the app. And I included the 
>output in this e-mail. 
>It isn't the output of the whole program, just of the part when I get the 
>error of my first snapshot.
First, sorry for make this thread so long :)
Second: I forget to note that in the output I included, when I input the 
number (number one, in this case), the app received it correctly ( I think 
so, because of this output:

	trace:nls:MultiByteToWideChar cp 0 "1" -> L"1", ret = 1
	trace:nls:MultiByteToWideChar cp 0 "dwprop\x00" -> L"dwprop\0000", ret = 7
	trace:nls:MultiByteToWideChar cp 0 "MAIN\x00" -> L"MAIN\0000", ret = 5
	trace:nls:WideCharToMultiByte cp 0 L"1" -> (null), ret = 1

	trace:nls:MultiByteToWideChar cp 0 "MAIN\x00" -> L"MAIN\0000", ret = 5
	trace:nls:MultiByteToWideChar cp 0 "%+#23.15e\x00" -> (null), ret = 10
	trace:nls:MultiByteToWideChar cp 0 "%+#23.15e\x00" -> L"%+#23.15e\0000", ret 
= 10
	trace:nls:WideCharToMultiByte cp 0 L"\0000" -> (null), ret = 1
	trace:nls:WideCharToMultiByte cp 0 L"\0000" -> "\x00", ret = 1
	trace:nls:MultiByteToWideChar cp 0 "dwprop\x00" -> L"dwprop\0000", ret = 7
	trace:nls:MultiByteToWideChar cp 0 "MAIN\x00" -> L"MAIN\0000", ret = 5
	trace:nls:MultiByteToWideChar cp 0 "+\x00" -> (null), ret = 2
	trace:nls:MultiByteToWideChar cp 0 "+\x00" -> L"+\0000", ret = 2
	trace:nls:MultiByteToWideChar cp 0 "MAIN\x00" -> L"MAIN\0000", ret = 5
	trace:nls:MultiByteToWideChar cp 0 "dwprop\x00" -> L"dwprop\0000", ret = 7
	trace:nls:MultiByteToWideChar cp 0 "MAIN\x00" -> L"MAIN\0000", ret = 5
	trace:nls:MultiByteToWideChar cp 0 "dwprop\x00" -> L"dwprop\0000", ret = 7
	trace:nls:MultiByteToWideChar cp 0 "MAIN\x00" -> L"MAIN\0000", ret = 5
	trace:nls:MultiByteToWideChar cp 0 "dwprop\x00" -> L"dwprop\0000", ret = 7
	trace:nls:MultiByteToWideChar cp 0 "MAIN\x00" -> L"MAIN\0000", ret = 5


and then the app shows the wrong char:

	trace:nls:WideCharToMultiByte cp 0 L"+" -> (null), ret = 1
	trace:nls:MultiByteToWideChar cp 0 "dwprop\x00" -> L"dwprop\0000", ret = 7
	trace:nls:MultiByteToWideChar cp 0 "MAIN\x00" -> L"MAIN\0000", ret = 5
	trace:nls:WideCharToMultiByte cp 0 L"+\0000" -> "+\x00", ret = 2

Why the function "MultiByteToWideChar" receives "1" and "WideCharToMultiByte" 
returns "+"?

Hugo S.



[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux