FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Visual Studio 2022 build number?
Posts: 1387
Joined: Fri May 23, 2008 01:33 PM
Visual Studio 2022 build number?
Posted: Thu Jan 20, 2022 01:25 PM
Hı,

I have installed vs2022 and start to compile my app. (I have not removed the vs2019 yet.) hb_compiler() functions still says 19.27.xxxxxxx. I wonder if I'm doing something wrong.

Code (fw): Select all Collapse
// Our first DialogBox sample

#include "FiveWin.ch"

function Main()

   local oDlg, oIco, cTest := "Hello world!   "

   DEFINE ICON oIco FILE "..\icons\fivewin.ico"

   DEFINE DIALOG oDlg TITLE hb_compiler() COLOR "W+/B" ;
      ICON oIco

   @ 1, 3 GET cTest

   @ 3, 5 BUTTON "&Ok" SIZE 40, 12 ;
      ACTION MsgInfo( "Any action here!" ) DEFAULT

   @ 3, 16 BUTTON "&Cancel" SIZE 40, 12 ACTION oDlg:End()

   ACTIVATE DIALOG oDlg CENTERED ;
      VALID MsgYesNo( "Do you want to end ?" )

return nil
FUNCTION cFileNameNoExt(cText)
RETURN cFileNoExt(cText)


http://www.objekt.com.tr/fwh_test/vs2022.jpeg

Thanks.
Regards,



Hakan ONEMLI



Harbour & MSVC 2022 & FWH 23.06
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Visual Studio 2022 build number?
Posted: Fri Jan 21, 2022 11:34 AM

Dear Hakan,

You have to rebuild Harbour using this Visual Studio version so function hb_compiler() gets properly updated

Could you please check if you have the same 2022 version ?

Microsoft Visual Studio Community 2022
Version 17.0.0
VisualStudio.17.Release/17.0.0+31903.59
Microsoft .NET Framework
Version 4.8.04161

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1387
Joined: Fri May 23, 2008 01:33 PM
Re: Visual Studio 2022 build number?
Posted: Mon Jan 24, 2022 12:49 PM
Hi Antonio,

Antonio Linares wrote:Dear Hakan,

You have to rebuild Harbour using this Visual Studio version so function hb_compiler() gets properly updated

Could you please check if you have the same 2022 version ?

Microsoft Visual Studio Community 2022
Version 17.0.0
VisualStudio.17.Release/17.0.0+31903.59
Microsoft .NET Framework
Version 4.8.04161


Can you lead me to compile it? or Can you compile it for vs2022?

Microsoft Visual Studio Community 2022
Sürüm: 17.0.5
VisualStudio.17.Release/17.0.5+32112.339
Microsoft .NET Framework
Sürüm: 4.8.04084
Regards,



Hakan ONEMLI



Harbour & MSVC 2022 & FWH 23.06
Posts: 1387
Joined: Fri May 23, 2008 01:33 PM
Re: Visual Studio 2022 build number?
Posted: Fri Jan 28, 2022 07:05 AM

Any comment?

Regards,



Hakan ONEMLI



Harbour & MSVC 2022 & FWH 23.06
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Visual Studio 2022 build number?
Posted: Fri Jan 28, 2022 02:37 PM
Dear Hakan,

We build Harbour for 32 bits using this github action file:
https://github.com/FiveTechSoft/Harbour_builder/blob/master/.github/workflows/harbour_msvc_32.yml

and this one for 64 bits:
https://github.com/FiveTechSoft/Harbour_builder/blob/master/.github/workflows/harbour_win64_msvc.yml

Simply "read" the steps that we take, and reproduce them in your PC.

Do you need 32 and 64 bits versions ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1387
Joined: Fri May 23, 2008 01:33 PM
Re: Visual Studio 2022 build number?
Posted: Fri Jan 28, 2022 02:48 PM
Antonio Linares wrote:Dear Hakan,

We build Harbour for 32 bits using this github action file:
https://github.com/FiveTechSoft/Harbour_builder/blob/master/.github/workflows/harbour_msvc_32.yml

and this one for 64 bits:
https://github.com/FiveTechSoft/Harbour_builder/blob/master/.github/workflows/harbour_win64_msvc.yml

Simply "read" the steps that we take, and reproduce them in your PC.

Do you need 32 and 64 bits versions ?

Hi Antonio,

32 bits.
Regards,



Hakan ONEMLI



Harbour & MSVC 2022 & FWH 23.06

Continue the discussion