Page 2 of 3

Re: Windows 7 / MSVS 2022 Crash

PostPosted: Mon Apr 10, 2023 10:42 am
by Enrico Maria Giordano
Antonio, I'm very sorry, I am not able to reproduce the problem now, so I can't confirm if your fix is right. Let's wait for Giovany result.

Re: Windows 7 / MSVS 2022 Crash

PostPosted: Mon Apr 10, 2023 2:02 pm
by Giovany Vecchi
Simple, at the beginning of your program call the GetPvProfString function. No problem on windows 10, only on windows 7.
It doesn't need changes in the source code, just include the profile.c file in the Make file, compile again and test the program.
This error does not happen with Bcc71, Bcc73 and Bcc74.

Re: Windows 7 / MSVS 2022 Crash

PostPosted: Mon Apr 10, 2023 2:15 pm
by Giovany Vecchi
Looking at my codes I was in doubt if the function was GETPROFSTRING or GETPVPROFSTRING.
It happened right when the program opened an .INI file.

Re: Windows 7 / MSVS 2022 Crash

PostPosted: Mon Apr 10, 2023 6:05 pm
by Antonio Linares
FiveDBU.exe built using bcc32 is running fine on Windows 7.

FivEdit.exe built using bcc32 is requesting msvcp140.dll (this is because it uses Scintilla)

Trying to find msvcp140.dll. I have tried to install Visual Studio Community 2022, 2019, 2015 on Windows 7 and all fails.

I guess some Visual C redistributables are missing

Re: Windows 7 / MSVS 2022 Crash

PostPosted: Mon Apr 10, 2023 6:55 pm
by karinha

Re: Windows 7 / MSVS 2022 Crash

PostPosted: Tue Apr 11, 2023 7:24 am
by Antonio Linares
Dear João,

After that DLL more are missing. Just cause using Scintilla.

Re: Windows 7 / MSVS 2022 Crash

PostPosted: Tue Apr 11, 2023 3:55 pm
by Giovany Vecchi

Re: Windows 7 / MSVS 2022 Crash

PostPosted: Tue Apr 11, 2023 6:04 pm
by TimStone
I'm having a problem here.

I tried linking in profile.c in my proj.mak script, but it told me the file was corrupted.

Actually, I link .prg, .rc and .lib files but no .c files, so perhaps I'm doing it incorrectly.

( Please ... I know about hmake.exe but for now I'm just using VS link.exe with a .mak file ).

Re: Windows 7 / MSVS 2022 Crash

PostPosted: Tue Apr 11, 2023 6:16 pm
by Giovany Vecchi
Hi Tim
I haven't used .MAK for many years.
Put the following line in the .mak

profile.obj : profile.c

I do not know if it's right. Try this.

Re: Windows 7 / MSVS 2022 Crash

PostPosted: Tue Apr 11, 2023 7:17 pm
by Antonio Linares
Dear Tim,

If you need the MS 32 and 64 versions, I can email them to you

Re: Windows 7 / MSVS 2022 Crash

PostPosted: Tue Apr 11, 2023 7:44 pm
by TimStone
Thank you

I used the ones in the \source\winapi folder and it said it was contaminated. However I just used the line to add it to the msvc temp file, and that is where I got the error.

It's probably in my .mak script that I have an error.

Re: Windows 7 / MSVS 2022 Crash

PostPosted: Tue Apr 11, 2023 7:49 pm
by Antonio Linares
Dear Tim,

Already sent

Re: Windows 7 / MSVS 2022 Crash

PostPosted: Tue Apr 11, 2023 8:09 pm
by TimStone
Thank you,

Re: Windows 7 / MSVS 2022 Crash

PostPosted: Wed Apr 12, 2023 4:55 pm
by kajot
I have the same problem FiveWin 2022.12 and xHB.com under windows 7.

Re: Windows 7 / MSVS 2022 Crash

PostPosted: Wed Apr 12, 2023 7:27 pm
by Antonio Linares
Dear Tim,

Could you please confirm if it is working fine on Windows 7 ?

many thanks