Search found 19 matches

by rfresh737
Mon Sep 09, 2024 11:48 am
Forum: Coding Questions
Topic: Creating a new project folder
Replies: 1
Views: 406

Creating a new project folder

I can't find any documentation statements that tell me if I have to manually create a project folder or if PB will do it? I cannot image why PB wouldn't want to do that but so far I have not seen it.
by rfresh737
Sun Sep 08, 2024 12:11 pm
Forum: Coding Questions
Topic: MSVCP140.dll is valid error
Replies: 17
Views: 2140

Re: MSVCP140.dll is valid error

@mk-soft

I followed your steps. Thank you.
by rfresh737
Sat Sep 07, 2024 12:40 pm
Forum: Coding Questions
Topic: MSVCP140.dll is valid error
Replies: 17
Views: 2140

Re: MSVCP140.dll is valid error

@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 ...
by rfresh737
Sat Sep 07, 2024 9:44 am
Forum: Coding Questions
Topic: MSVCP140.dll is valid error
Replies: 17
Views: 2140

Re: MSVCP140.dll is valid error

I checked the 140.dll file in the PureBasic\compilers folder and it's a 64 bit file.

Image
by rfresh737
Sat Sep 07, 2024 9:08 am
Forum: Coding Questions
Topic: MSVCP140.dll is valid error
Replies: 17
Views: 2140

Re: MSVCP140.dll is valid error

So the .dll should be the x86 version?

Where do I upload the file to and how do I check if its x86?
by rfresh737
Sat Sep 07, 2024 4:21 am
Forum: Coding Questions
Topic: MSVCP140.dll is valid error
Replies: 17
Views: 2140

Re: MSVCP140.dll is valid error

Doesn't that dialog message mean I have the wrong 140.dll file for my 64bit CPU?
by rfresh737
Fri Sep 06, 2024 11:37 pm
Forum: Coding Questions
Topic: MSVCP140.dll is valid error
Replies: 17
Views: 2140

Re: MSVCP140.dll is valid error

I copied that file into PureBasic/Compilers folder and ran one of the example programs and got the same error dialog :(
by rfresh737
Fri Sep 06, 2024 11:58 am
Forum: Coding Questions
Topic: MSVCP140.dll is valid error
Replies: 17
Views: 2140

Re: MSVCP140.dll is valid error

I'm re-reading the dialog error again (below) and it's not FAsm.exe. It's a machine type mis-match within the 140.dll file. So does that mean the 140.dll file that I have for my windows 10 is a 32 bit version but I'm using a 64 bit windows 10 version?

(I turned off my anti-virus and it made no ...
by rfresh737
Fri Sep 06, 2024 10:26 am
Forum: Coding Questions
Topic: MSVCP140.dll is valid error
Replies: 17
Views: 2140

Re: MSVCP140.dll is valid error

It looks like this is really a FAsm.exe 'machine type' mis-match error. Is there some place where I can change my machine type for FAsm.exe?
by rfresh737
Thu Sep 05, 2024 4:45 pm
Forum: Coding Questions
Topic: MSVCP140.dll is valid error
Replies: 17
Views: 2140

Re: MSVCP140.dll is valid error

Yes, the IDE launches fine. x64 Windows 10.
by rfresh737
Thu Sep 05, 2024 4:44 pm
Forum: Coding Questions
Topic: MSVCP140.dll is valid error
Replies: 17
Views: 2140

Re: MSVCP140.dll is valid error

I was just using the form builder and bringing up a blank window form.
by rfresh737
Thu Sep 05, 2024 12:34 pm
Forum: Coding Questions
Topic: MSVCP140.dll is valid error
Replies: 17
Views: 2140

MSVCP140.dll is valid error

New PB user here. Trying to run my first simple program on my windows 10 PC and am getting this dialog message on start up:

"MSVCP140.dll is valid, but is for machine type other than current machine."

How do I fix this?

Thank you...
by rfresh737
Sun Aug 27, 2023 11:03 am
Forum: Coding Questions
Topic: Detecting a window move event
Replies: 9
Views: 1381

Re: Detecting a window move event

Thank you
by rfresh737
Sun Aug 27, 2023 4:19 am
Forum: Coding Questions
Topic: Detecting a window move event
Replies: 9
Views: 1381

Re: Detecting a window move event

I'm new to PB and I am a bit lost as to where to put my window move code.

I have this code block at the bottom of my .pb file:


Repeat
Event = WaitWindowEvent()
Select EventWindow()
Case MainWindow
MainWindow_Events(Event) ; This procedure name is always window name followed by '_Events ...
by rfresh737
Sun Aug 27, 2023 12:50 am
Forum: Coding Questions
Topic: Detecting a window move event
Replies: 9
Views: 1381

Re: Detecting a window move event

Thank you...