error: Failed to get msvcp140.dll version info size
error: Failed to get msvcp140.dll version info size
I am trying to run PRISM Live Studio. My Wine version is 9.17 (Staging). I am using Fedora 41 x64. The error in the title, "error: Failed to get msvcp140.dll version info size", is the only thing printed to CLI when running the installed executable (the installer for the program runs fine). Said DLL is included in the program installation and lands in the same directory as the executable. What does this error mean, and is there a workaround?
Re: error: Failed to get msvcp140.dll version info size
Hi, I sent a patch to fix this, meanwhile I guess you could use 'winetricks vcrun2022' to workaround this issue
Re: error: Failed to get msvcp140.dll version info size
Thank you, that worked! I am curious as to what's happening under the hood. My guess is that msvcp140 is provided by Visual C++ Runtime 2022, and...
- The included DLL with PrismLive has some caveat that makes it not work with Wine and it is thus being replaced by an installed version, which Wine will look for first, OR...
- Wine is somehow expecting the system installed version of the DLL?
Anyways, thanks again. Merry Christmas!
- The included DLL with PrismLive has some caveat that makes it not work with Wine and it is thus being replaced by an installed version, which Wine will look for first, OR...
- Wine is somehow expecting the system installed version of the DLL?
Anyways, thanks again. Merry Christmas!

Re: error: Failed to get msvcp140.dll version info size
Hi, to answer your questions:
>- The included DLL with PrismLive has some caveat that makes it not work with Wine and it is thus being replaced by an >installed version, which Wine will look for first, OR...
wine will just load it's own msvcp140.dll by default, which lacked a version resource--> bug . BTW, I should have read your post more carefully: the app comes with it's own msvcp140.dll, so you don't need a 'winetricks vcrun2022' really; just setting msvcp140 to native in winecfg would suffice really...
>- Wine is somehow expecting the system installed version of the DLL?
The system installed msvcp140 is wine's dll which lacked a version resource. Anyway, the aforementioned patch is upstream, so in next wine release (wine-9.23) no workarounds should be needed any more, and this bug should be gone
Regards
>- The included DLL with PrismLive has some caveat that makes it not work with Wine and it is thus being replaced by an >installed version, which Wine will look for first, OR...
wine will just load it's own msvcp140.dll by default, which lacked a version resource--> bug . BTW, I should have read your post more carefully: the app comes with it's own msvcp140.dll, so you don't need a 'winetricks vcrun2022' really; just setting msvcp140 to native in winecfg would suffice really...
>- Wine is somehow expecting the system installed version of the DLL?
The system installed msvcp140 is wine's dll which lacked a version resource. Anyway, the aforementioned patch is upstream, so in next wine release (wine-9.23) no workarounds should be needed any more, and this bug should be gone
Regards