Page 2 of 2

Re: MSVCP140.dll is valid error

Posted: Sat Sep 07, 2024 12:40 pm
by rfresh737
@ChrisR I removed the 3 .dll files per your suggestion and kept Fred's new linker file and my 140.dll error went away finally! Thank you.

With some of the examples I'm getting the compiler cannot be found message. I assume these examples are 32bit apps. Since I'm on windows 10 64 bit, is there somewhere I can add the name of the 32bit compiler so I can run those examples?

Re: MSVCP140.dll is valid error

Posted: Sun Sep 08, 2024 10:22 am
by mk-soft
Create a folder C:\WinAPP

Install the different versions in this folder.
C:\WinAPP\PureBasic-v612x64
C:\WinAPP\PureBasic-v612x86
etc

Add the folder C:\WinAPP to the exceptions in your antivir program.

Create a project folder under Documents.
Add the project folder to the exceptions in your antivir program.

Set in the IDE Preferences -> Compiler -> default -> [x] Create temporare executable in the source directory.

Re: MSVCP140.dll is valid error

Posted: Sun Sep 08, 2024 12:11 pm
by rfresh737
@mk-soft

I followed your steps. Thank you.