http://bugs.winehq.org/show_bug.cgi?id=35441
Bug ID: 35441 Summary: The CInt can't convert strings to integers Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: vbscript Assignee: wine-bugs@winehq.org Reporter: mengshuaicalendr@gmail.com Classification: Unclassified
Created attachment 47300 --> http://bugs.winehq.org/attachment.cgi?id=47300 string_error output
When I add some lines about strings to api.vbs,the terminal says : fixme:vbscript:to_int not supported {VT_BSTR: L"36.75"},you can find this in attachment.
I tried to fix this bug,a possible solution can also be found in attachment.
http://bugs.winehq.org/show_bug.cgi?id=35441
--- Comment #1 from Shuai Meng mengshuaicalendr@gmail.com --- Created attachment 47301 --> http://bugs.winehq.org/attachment.cgi?id=47301 a possible solution
http://bugs.winehq.org/show_bug.cgi?id=35441
Qian Hong fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, patch, source Status|UNCONFIRMED |NEW CC| |fracting@gmail.com Summary|The CInt can't convert |VBScript CInt can't convert |strings to integers |strings to integers Ever confirmed|0 |1
--- Comment #2 from Qian Hong fracting@gmail.com --- Confirming, thanks for reporting.
http://bugs.winehq.org/show_bug.cgi?id=35441
Vijay Kamuju infyquest@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |infyquest@gmail.com
--- Comment #3 from Vijay Kamuju infyquest@gmail.com --- please send the fix to wine-patches@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=35441
--- Comment #4 from Vijay Kamuju infyquest@gmail.com --- oops wrong mailid, the correct one is wine-patches@winehq.org
https://bugs.winehq.org/show_bug.cgi?id=35441
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Version|unspecified |1.7.11
http://bugs.winehq.org/show_bug.cgi?id=35441
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |leslie_alistair@hotmail.com
--- Comment #5 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- (In reply to Shuai Meng from comment #1)
Created attachment 47301 [details] a possible solution
Did you ever send the patch to the wine-devel mailing list?
http://bugs.winehq.org/show_bug.cgi?id=35441
--- Comment #6 from Shuai Meng mengshuaicalendr@gmail.com --- (In reply to Alistair Leslie-Hughes from comment #5)
(In reply to Shuai Meng from comment #1)
Created attachment 47301 [details] a possible solution
Did you ever send the patch to the wine-devel mailing list?
never. And this patch is too ugly, I'm still working on it.
http://bugs.winehq.org/show_bug.cgi?id=35441
--- Comment #7 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- The to_int code is the same as the other to_* functions that convert a VT_BSTR. So what ugly about it?
http://bugs.winehq.org/show_bug.cgi?id=35441
--- Comment #8 from Shuai Meng mengshuaicalendr@gmail.com --- Created attachment 47894 --> http://bugs.winehq.org/attachment.cgi?id=47894 fixed cint
http://bugs.winehq.org/show_bug.cgi?id=35441
--- Comment #9 from Shuai Meng mengshuaicalendr@gmail.com --- (In reply to Alistair Leslie-Hughes from comment #7)
The to_int code is the same as the other to_* functions that convert a VT_BSTR. So what ugly about it?
http://bugs.winehq.org/show_bug.cgi?id=35441
Jacek Caban jacek@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |15dfae71a12f4937c3631568492 | |13881c879c684 Status|NEW |RESOLVED CC| |jacek@codeweavers.com Resolution|--- |FIXED
--- Comment #10 from Jacek Caban jacek@codeweavers.com --- Fixed in Git.
https://bugs.winehq.org/show_bug.cgi?id=35441
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #11 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.23.