Skip to content

vb6run: Update version to 6.0.98.2#2496

Open
arethusa26 wants to merge 1 commit intoWinetricks:masterfrom
arethusa26:vb6run
Open

vb6run: Update version to 6.0.98.2#2496
arethusa26 wants to merge 1 commit intoWinetricks:masterfrom
arethusa26:vb6run

Conversation

@arethusa26
Copy link
Copy Markdown
Contributor

@arethusa26 arethusa26 commented Mar 19, 2026

The version of the Visual Basic 6 runtime currently installed by winetricks is old enough that its SendKeys implementation is incompatible with modern Windows and Wine as of 8.20 with commit e1259ff91a40d7d97fa730235e2b7737b229f708 because it requires successful WH_JOURNALPLAYBACK hooking with SetWindowsHookEx, as discussed in Wine bug 58198. Wine unconditionally disallows journal hooks and Windows requires additional permissions to be granted for such hooks to be installed, so SendKeys cannot work in such old runtime versions.

A visible consequence of the incompatibility can be seen in the VARA HF application, which displays a nuisance "Notepad.exe not found" message box as a result of SendKeys failure when opening a log file.

As discussed in a blog post, later versions of the Visual Basic 6 runtime include a graceful fall back to the user32 SendInput function if SendKeys cannot install the necessary journal hook. The version of the VB6 runtime available in Windows XP SP3 is new enough to include this logic, so the vb6run verb in winetricks is updated to use the existing helpers for the XP SP3 redist for installation of the updated msvbvm60.dll.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant