Page 1 of 1

Visual Studio 2022 build number?

Posted: Thu Jan 20, 2022 1:25 pm
by Horizon
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: Select all | Expand

// 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.

Re: Visual Studio 2022 build number?

Posted: Fri Jan 21, 2022 11:34 am
by Antonio Linares
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

Re: Visual Studio 2022 build number?

Posted: Mon Jan 24, 2022 12:49 pm
by Horizon
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

Re: Visual Studio 2022 build number?

Posted: Fri Jan 28, 2022 7:05 am
by Horizon
Any comment?

Re: Visual Studio 2022 build number?

Posted: Fri Jan 28, 2022 2:37 pm
by Antonio Linares
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 ?

Re: Visual Studio 2022 build number?

Posted: Fri Jan 28, 2022 2:48 pm
by Horizon
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.