http://bugs.winehq.org/show_bug.cgi?id=19105
Summary: From VB / VBScript / maybe others, the TimeSerial function dont answer like is awaited Product: Wine Version: 1.1.24 Platform: PC-x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: slezica@yahoo.com
I determine this problem after a hard hunt. This issue affects software from several sources, probably silently. In Visual Basic 6 and VBScript, you have a function "TimeSerial" for convert three integers (hour, minute and second) to a "date/time" format ("HH:MM:SS", for example 03:45:12). On Windows, you can use the arguments without ranges, for example 300 minutes - "TimeSerial(0,300,0)" -, and it automatically converts and displays the result correctly (in this case "05:00:00", 5 hours).
In Wine, if you pass the same previous example it returns "Error 5 - Invalid procedure call or argument.". The function work if you pass for example minutes in the 0-59 range. But the conversion functionality is missing (and give a error).
I can't determine what DLL is used, but shure is shared with others Microsoft Visual Studio tools. The debug don't show any relevant information, because is not a Wine error really (ony the answer is different). Thanks, and if I can help more only say. Excuse my english. Sebastián Lezica