Windows 7 / MSVS 2022 Crash

Re: Windows 7 / MSVS 2022 Crash

Postby Enrico Maria Giordano » 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.
User avatar
Enrico Maria Giordano
 
Posts: 8715
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Windows 7 / MSVS 2022 Crash

Postby Giovany Vecchi » Mon Apr 10, 2023 2: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.
User avatar
Giovany Vecchi
 
Posts: 223
Joined: Mon Jun 05, 2006 9:39 pm
Location: Brasil

Re: Windows 7 / MSVS 2022 Crash

Postby Giovany Vecchi » Mon Apr 10, 2023 2: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.
User avatar
Giovany Vecchi
 
Posts: 223
Joined: Mon Jun 05, 2006 9:39 pm
Location: Brasil

Re: Windows 7 / MSVS 2022 Crash

Postby Antonio Linares » Mon Apr 10, 2023 6: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42098
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Windows 7 / MSVS 2022 Crash

Postby karinha » Mon Apr 10, 2023 6:55 pm

João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7822
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: Windows 7 / MSVS 2022 Crash

Postby Antonio Linares » Tue Apr 11, 2023 7:24 am

Dear João,

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

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42098
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Windows 7 / MSVS 2022 Crash

Postby Giovany Vecchi » Tue Apr 11, 2023 3:55 pm

User avatar
Giovany Vecchi
 
Posts: 223
Joined: Mon Jun 05, 2006 9:39 pm
Location: Brasil

Re: Windows 7 / MSVS 2022 Crash

Postby TimStone » Tue Apr 11, 2023 6: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
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: Windows 7 / MSVS 2022 Crash

Postby Giovany Vecchi » Tue Apr 11, 2023 6: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.
User avatar
Giovany Vecchi
 
Posts: 223
Joined: Mon Jun 05, 2006 9:39 pm
Location: Brasil

Re: Windows 7 / MSVS 2022 Crash

Postby Antonio Linares » Tue Apr 11, 2023 7: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42098
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Windows 7 / MSVS 2022 Crash

Postby TimStone » Tue Apr 11, 2023 7: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
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: Windows 7 / MSVS 2022 Crash

Postby Antonio Linares » Tue Apr 11, 2023 7:49 pm

Dear Tim,

Already sent
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42098
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Windows 7 / MSVS 2022 Crash

Postby TimStone » Tue Apr 11, 2023 8: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
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: Windows 7 / MSVS 2022 Crash

Postby kajot » Wed Apr 12, 2023 4:55 pm

I have the same problem FiveWin 2022.12 and xHB.com under windows 7.
best regards
kajot
User avatar
kajot
 
Posts: 339
Joined: Thu Nov 02, 2006 6:53 pm
Location: Poland

Re: Windows 7 / MSVS 2022 Crash

Postby Antonio Linares » Wed Apr 12, 2023 7: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42098
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

PreviousNext

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: nageswaragunupudi and 34 guests

cron