https://bugs.winehq.org/show_bug.cgi?id=55969
Bug ID: 55969 Summary: vbscript fails to return TypeName for Nothing Product: Wine Version: 8.21 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: vbscript Assignee: wine-bugs@winehq.org Reporter: francisdb@gmail.com Distribution: ---
If TypeName(Nothing) = "Nothing" Then CScript.echo "Nothing" End If
On windows this echoes Nothing
On wine
wine cscript test.vbs wine: configuration in L"/home/me/.wine" has been updated. wine: Unhandled page fault on read access to 00000000 at address 6154A2B6 (thread 0134), starting debugger... Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x6154a2b6). Backtrace: =>0 0x6154a2b6 IDispatch_GetTypeInfo+0x3(ppTInfo=<internal error>, lcid=<internal error>, iTInfo=<internal error>, This=<internal error>) [Z:\usr\src\wine-8.0.1~repack-3ubuntu2\include\oaidl.h:890] in vbscript (0x0075f928) 1 0x6154a2b6 Global_TypeName+0x2c6(This=<is not available>, arg=<is not available>, args_cnt=<is not available>, res=<is not available>) [Z:\usr\src\wine-8.0.1~repack-3ubuntu2\dlls\vbscript\global.c:330] in vbscript (0x0075f928 )