https://bugs.winehq.org/show_bug.cgi?id=48493
Bug ID: 48493 Summary: Any AutoIt software using built-in Sound.au3 crashes - FolderImpl_GetDetailsOf problem Product: Wine Version: 5.0-rc2 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: shell32 Assignee: wine-bugs@winehq.org Reporter: tomas@unimus.net Distribution: ---
Greetings,
Environment: Wine: 5.0-rc2 OS: Manjaro (Arch) Kernel: 4.19.96
I am attempting to run "ISN AutoIt Studio" under Wine5, but this problem is not limited to ISN (more details further down). It crashes during startup.
After a bit of investigation, I found FolderImpl_GetDetailsOf doesn't support "iColumn" of "-1" in Wine (as suggested by the fixme in console):
[me@pc ISN AutoIt Studio]$ ./Autoit_Studio.exe
000b:fixme:winediag:start_process Wine Staging 5.0-rc2 is a testing version containing experimental patches. 000b:fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org. 0009:fixme:ver:GetCurrentPackageId (0xaefc1c (nil)): stub 0009:err:winediag:MIDIMAP_drvOpen No software synthesizer midi port found, Midi sound output probably won't work. 0009:fixme:gstreamer:source_query_accept (0x5be8e88) stub 0009:fixme:shell:FolderImpl_GetDetailsOf (0x5bd95b0,0xaeea40 {VT_DISPATCH: 0x5bd99b0},-1,0xaeebb0)
-- ISN crashes here --
Running ISN in debug mode shows the following error:
The requested action with this object has failed.:
Local $sRaw = $oShellDir.GetDetailsOf($oShellDirFile, -1) Local $sRaw = $oShellDir^ ERROR
AutoIt requires this in it's built-in Sound.au3 library.
From the above fragment we can see "$oShellDir.GetDetailsOf($oShellDirFile,
-1)" is called, and "The requested action with this object has failed" is received.
MS reference: https://docs.microsoft.com/en-us/windows/win32/shell/folder-getdetailsof
Lack of this function makes any AutoIt script / application using the native Sound.au3 library non-functional, so this problem is not ISN specific.