FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Windows 7 / MSVS 2022 Crash
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Windows 7 / MSVS 2022 Crash
Posted: Mon Apr 10, 2023 10:42 AM

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.

Posts: 244
Joined: Mon Jun 05, 2006 09:39 PM
Re: Windows 7 / MSVS 2022 Crash
Posted: Mon Apr 10, 2023 02:02 PM

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.

Posts: 244
Joined: Mon Jun 05, 2006 09:39 PM
Re: Windows 7 / MSVS 2022 Crash
Posted: Mon Apr 10, 2023 02:15 PM

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.

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Windows 7 / MSVS 2022 Crash
Posted: Mon Apr 10, 2023 06:05 PM

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
Posts: 8515
Joined: Tue Dec 20, 2005 07:36 PM
Re: Windows 7 / MSVS 2022 Crash
Posted: Mon Apr 10, 2023 06:55 PM
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Windows 7 / MSVS 2022 Crash
Posted: Tue Apr 11, 2023 07:24 AM

Dear João,

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

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 244
Joined: Mon Jun 05, 2006 09:39 PM
Re: Windows 7 / MSVS 2022 Crash
Posted: Tue Apr 11, 2023 03:55 PM
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Re: Windows 7 / MSVS 2022 Crash
Posted: Tue Apr 11, 2023 06:04 PM

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
Posts: 244
Joined: Mon Jun 05, 2006 09:39 PM
Re: Windows 7 / MSVS 2022 Crash
Posted: Tue Apr 11, 2023 06:16 PM
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.
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Windows 7 / MSVS 2022 Crash
Posted: Tue Apr 11, 2023 07:17 PM

Dear Tim,

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

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Re: Windows 7 / MSVS 2022 Crash
Posted: Tue Apr 11, 2023 07:44 PM

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
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Windows 7 / MSVS 2022 Crash
Posted: Tue Apr 11, 2023 07:49 PM

Dear Tim,

Already sent

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Re: Windows 7 / MSVS 2022 Crash
Posted: Tue Apr 11, 2023 08:09 PM

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
Posts: 357
Joined: Thu Nov 02, 2006 06:53 PM
Re: Windows 7 / MSVS 2022 Crash
Posted: Wed Apr 12, 2023 04:55 PM

I have the same problem FiveWin 2022.12 and xHB.com under windows 7.

best regards

kajot
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Windows 7 / MSVS 2022 Crash
Posted: Wed Apr 12, 2023 07:27 PM

Dear Tim,

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

many thanks

regards, saludos

Antonio Linares
www.fivetechsoft.com