Using Microsoft Visual Studio Community 2022

Using Microsoft Visual Studio Community 2022

Postby Antonio Linares » Mon Feb 07, 2022 10:03 am

Now we have to use this line to set the environment:

for 32 bits:
call "%ProgramFiles%\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" x86

for 64 bits:
call "%ProgramFiles%\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" x86_amd64
regards, saludos

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

Re: Using Microsoft Visual Studio Community 2022

Postby Antonio Linares » Mon Feb 07, 2022 11:17 am

You can already use Microsoft Visual Studio Community 2022 to build FWH 32 bits app successfully

Simply replace this line in buildh32.bat:

if exist "%ProgramFiles%\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" call "%ProgramFiles%\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" x86

So even if your Harbour and FWH are built using Visual Studio Community 2019, you can safely swith to Visual Studio Community 2022 and build your 32 bits EXEs
regards, saludos

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


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 112 guests