Windows 7 / MSVS 2022 Crash

User avatar
Enrico Maria Giordano
Posts: 8728
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: Windows 7 / MSVS 2022 Crash

Post 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.
User avatar
Giovany Vecchi
Posts: 223
Joined: Mon Jun 05, 2006 9:39 pm
Location: Brasil

Re: Windows 7 / MSVS 2022 Crash

Post 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.
User avatar
Giovany Vecchi
Posts: 223
Joined: Mon Jun 05, 2006 9:39 pm
Location: Brasil

Re: Windows 7 / MSVS 2022 Crash

Post 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.
User avatar
Antonio Linares
Site Admin
Posts: 42270
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Windows 7 / MSVS 2022 Crash

Post 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
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
karinha
Posts: 7885
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil
Contact:

Re: Windows 7 / MSVS 2022 Crash

Post by karinha »

Master Antônio, look this:

https://answers.microsoft.com/pt-br/win ... c6e6d27e11

Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
Antonio Linares
Site Admin
Posts: 42270
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Windows 7 / MSVS 2022 Crash

Post by Antonio Linares »

Dear João,

After that DLL more are missing. Just cause using Scintilla.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Giovany Vecchi
Posts: 223
Joined: Mon Jun 05, 2006 9:39 pm
Location: Brasil

Re: Windows 7 / MSVS 2022 Crash

Post by Giovany Vecchi »

Install the visual studio dll package.
Download vc_redist.x86.exe installer
Links:
https://learn.microsoft.com/en-us/cpp/w ... w=msvc-170
https://learn.microsoft.com/pt-BR/cpp/w ... w=msvc-170
User avatar
TimStone
Posts: 2951
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA
Contact:

Re: Windows 7 / MSVS 2022 Crash

Post 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 ).
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
Giovany Vecchi
Posts: 223
Joined: Mon Jun 05, 2006 9:39 pm
Location: Brasil

Re: Windows 7 / MSVS 2022 Crash

Post 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.
User avatar
Antonio Linares
Site Admin
Posts: 42270
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Windows 7 / MSVS 2022 Crash

Post by Antonio Linares »

Dear Tim,

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

Antonio Linares
www.fivetechsoft.com
User avatar
TimStone
Posts: 2951
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA
Contact:

Re: Windows 7 / MSVS 2022 Crash

Post 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.
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
Antonio Linares
Site Admin
Posts: 42270
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Windows 7 / MSVS 2022 Crash

Post by Antonio Linares »

Dear Tim,

Already sent
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
TimStone
Posts: 2951
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA
Contact:

Re: Windows 7 / MSVS 2022 Crash

Post by TimStone »

Thank you,
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
kajot
Posts: 339
Joined: Thu Nov 02, 2006 6:53 pm
Location: Poland

Re: Windows 7 / MSVS 2022 Crash

Post by kajot »

I have the same problem FiveWin 2022.12 and xHB.com under windows 7.
best regards
kajot
User avatar
Antonio Linares
Site Admin
Posts: 42270
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Windows 7 / MSVS 2022 Crash

Post by Antonio Linares »

Dear Tim,

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

many thanks
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply