New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VCRUNTIME140.dll #962
Comments
AppleWin is not "NOT RESPONDING". |
That's strange. What version of AppleWin are you using? If it's an old one,
try the latest.
|
Also, what version of Windows? |
It is v1.30.2.0 and the Windows is 7. |
I can put that 140.dll in the AppleWin folder. Expect with/without that dialogue, what else difference? |
Installing the following Microsoft VC runtime package should fix the problem: |
As of AppleWin 1.30.0.0, I'm now building AppleWin with VS2019 using v141_xp platform toolset. At this stage, I wouldn't want to include this 13MB vc_redist.x86.exe with AppleWin (and it would mean switching to a proper installer, not a zip). I don't know if we are legally permitted to include VCRUNTIME140.dll within the AppleWin.zip - if we could then this would nicely solve this issue... unless this dll has further dependencies on additional dll's. NB, it is available for download here: https://www.dll-files.com/vcruntime140.dll.html |
It works fine that way. Thanks. |
Just to clarify, which solution did you use? Thanks!
|
I put the 140.dll in the AppleWin folder. |
Tom, all AppleWin projects are set to statically link the runtime ... except for the HookFilter. And actually, I think this filter can be in the application rather than in a DLL. |
It is indeed the Filter These 3 symbols are used
|
Tom noticed that Willi reported the same problem as above here: Willi also had a further problem: |
Up to version 1.29 AppleWin (i.e. HookFilter) required now it needs
The only difference is that the old runtime was probably installed everywhere by now, while 14 is still new (2015+) and people need to install it explicitly. Or, there is an option to copy the runtime to the outdir in VS Configuration Properties -> Advanced -> Copy Cpp Runtime to OutDir but I doubt you are meant to distribute it like this. |
I created a new branch to try this: https://github.com/AppleWin/AppleWin/tree/GH962-HookFilter And so far so good: I can link statically, and the Hook Filter still works. |
Nice! That will be much tidier!
|
I tried both the AppleWin.exe(1.30.2.0)+HookFilter.dll and the statically linked AppleWin.exe on Windows 10 version 20H2, and both worked fine without any message about VCRUNTIME140.dll. NB. On this Win10 machine, it has never had Visual Studio installed. So perhaps Win10 (20H2) comes with this VCRUNTIME140.dll... which makes it difficult to test whether the statically linked AppleWin.exe solves this issue. |
Using
whereas HookFilter.dll (AppleWin 1.29.16.0) has these:
(so same results as @audetto got above) And AppleWin.exe (with statically linked HookFilter, built with platform toolset v141_xp ) has these:
So no |
OK, PR created in #964. |
Looks good. More importantly, if it works, it works. ; - )
|
Attached is a patch to update the AppleWinExpress2008 project to use the static hook filter. |
@ralph-irving - thanks, I've applied this patch at 0e275f0. btw, we will probably delete the VS2008 proj/sln at some point, so I'd recommend switching to VS2019. |
Thanks for merging the patch. I am using VS2017 elsewhere but the winxp build vm I use to maintain several other projects doesn't support https to github so I can only pull from the repo using the git protocol. I was surprised that the VS2008 project was still available. No worries on removing it. |
Hi @landloafer - there's a new build here which should remove this dependency on VCRUNTIME140.dll. Please check it and let me know how you get on. |
It works very well. I can confirm the dependency error on 140.dll is gone on my Win7. As a merit, the hookfilter error is gone too. |
Great! Thanks for confirming. Let me close this. |
Hi,
What is the use of VCRUNTIME140.dll? AppleWin runs fine just OK this dialogue window.
The text was updated successfully, but these errors were encountered: