MSVC 2017 Try

Horizon
Posts: 997
Joined: Fri May 23, 2008 1:33 pm

MSVC 2017 Try

Post by Horizon »

Hi,

After upgraded fwh 1702, I have decided to try MSVC 2017 Community Edition on another clean w10 installed computer.

I have installed MSVC 2017 Community Edition with default option.

I will try 32 bit fwh.

Which version of harbour should I install to my computer?. There is Harbour MSVC2013 January 2016 in fwh download website. Is it ok?

Thanks,
Regards,

Hakan ONEMLI

Harbour & VS 2019 & FWH 20.12
User avatar
TimStone
Posts: 2536
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA
Contact:

Re: MSVC 2017 Try

Post by TimStone »

I have been building my primary application with FWH / Harbour / MSVC 2013, then MSVC 2015 for several years. I believe the Microsoft builds of Harbour are all MSVC 2015. I received mine from Antonio, but I believe the one on the download site is the same. Antonio can clarify this.

Last week I installed MSVC 2017 Community on my Surface Book. I then had it clean, and rebuild my ( very large ) application using the 2015 solution. I let it upgrade the solution, including all the reference pointers, which it did automatically. It then built the full .exe without any problems and the program seems to run fine.

I have not put it on my main computer because I have not had the time to fully test the build on my laptop. I will update this thread after I have a chance to complete testing.

Apparently there are many enhancements in Community 2017. The Microsoft plan is to allow many ways of assembling applications within VS using the programmers languages of choice. So far my clients have been pleased with the results of the current builds.
Tim Stone
http://www.MasterLinkSoftware.com
timstone@masterlinksoftware.com
Using: FWH 19.06 with Harbour 3.2.0 / Microsoft Visual Studio Community 2019
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: MSVC 2017 Try

Post by Antonio Linares »

regards, saludos

Antonio Linares
www.fivetechsoft.com
Horizon
Posts: 997
Joined: Fri May 23, 2008 1:33 pm

Re: MSVC 2017 Try

Post by Horizon »

Hi Antonio,

I compiled my application with msvc 2017 and fwh 17.02. (using batch file, mak file)

I will inform if any errors occurs.

Thanks,
Regards,

Hakan ONEMLI

Harbour & VS 2019 & FWH 20.12
User avatar
José Luis Sánchez
Posts: 484
Joined: Thu Oct 13, 2005 9:23 am
Location: Novelda - Alicante - España
Contact:

Re: MSVC 2017 Try

Post by José Luis Sánchez »

Hello,
I've two questions:
1 - It is posible to download only MSCV compiler or I have to download or install full MSVC Community ?
2 - Can I use the Harbour libs for MSVC 2015 in MSVC 2017 ?

I've read that BCC compilers are no longer supported in Harbour core 3.4 and I think that MSVC is a good choice to try.

Regards,
José Luis
Horizon
Posts: 997
Joined: Fri May 23, 2008 1:33 pm

Re: MSVC 2017 Try

Post by Horizon »

Hi Jose,

1) There is no any option to download full MSVC Community. but you can do it by yourself using this link.
https://docs.microsoft.com/en-us/visual ... ual-studio

2) When I try to compile in MSVC 2015, I have been found my third party libraries to run under 2015 with Antonio's help. But I had some problems and gave up. Using these libraries I have achieved to compiled all my application in MSVC 2017. (I have not fully checked all my application yet in MSVC 2017).

I dont use BCC.
José Luis Sánchez wrote:Hello,
I've two questions:
1 - It is posible to download only MSCV compiler or I have to download or install full MSVC Community ?
2 - Can I use the Harbour libs for MSVC 2015 in MSVC 2017 ?

I've read that BCC compilers are no longer supported in Harbour core 3.4 and I think that MSVC is a good choice to try.

Regards,
José Luis
Regards,

Hakan ONEMLI

Harbour & VS 2019 & FWH 20.12
User avatar
José Luis Sánchez
Posts: 484
Joined: Thu Oct 13, 2005 9:23 am
Location: Novelda - Alicante - España
Contact:

Re: MSVC 2017 Try

Post by José Luis Sánchez »

Hi Hakan,
I've found a zipped package of MSVC 2015 in http://whosaway.com/ I'll give it a try.

Regards,
Horizon
Posts: 997
Joined: Fri May 23, 2008 1:33 pm

Re: MSVC 2017 Try

Post by Horizon »

Hi,

First problem : Not run under XP

Solution : Change the hbrtl.lib with harbour\lib

https://bitbucket.org/fivetech/harbour- ... its_XP.zop
Regards,

Hakan ONEMLI

Harbour & VS 2019 & FWH 20.12
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: MSVC 2017 Try

Post by Antonio Linares »

Hakan,

very good

Jose Luis,

> I've read that BCC compilers are no longer supported in Harbour core 3.4

Harbour 3.4 is a fork developed by Vikthor and it is not the Harbour that we use with FWH.
We use the one developed by Przemek (3.2)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
byte-one
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria
Contact:

Re: MSVC 2017 Try

Post by byte-one »

Antonio, the Harbour-builds from FW are nearly 1 year old. Should we make newer one versions?
Regards,
Günther
---------------------------------
office@byte-one.com
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: MSVC 2017 Try

Post by Antonio Linares »

Günther,

Yes, it is time to build new versions

I am going to install Visual Studio Community 2017 to build them
regards, saludos

Antonio Linares
www.fivetechsoft.com
Horizon
Posts: 997
Joined: Fri May 23, 2008 1:33 pm

Re: MSVC 2017 Try

Post by Horizon »

Hi Antonio,

Will you add the hbrtl.lib changes to new release?
Regards,

Hakan ONEMLI

Harbour & VS 2019 & FWH 20.12
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: MSVC 2017 Try

Post by Antonio Linares »

Hakan,

What changes we did to hbrtl.lib ?

I remember we modified something but I don't remember what we solved
regards, saludos

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

Re: MSVC 2017 Try

Post by Antonio Linares »

Building Harbour 32 bits with VSC2017

go32.bat

Code: Select all

call "%ProgramFiles(x86)%\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" x86
set HB_WITH_OPENSSL=c:\OpenSSL-Win32\include
win-make.exe
regards, saludos

Antonio Linares
www.fivetechsoft.com
Horizon
Posts: 997
Joined: Fri May 23, 2008 1:33 pm

Re: MSVC 2017 Try

Post by Horizon »

http://forums.fivetechsupport.com/viewt ... 8&start=30
Antonio Linares wrote:Hakan,

What changes we did to hbrtl.lib ?

I remember we modified something but I don't remember what we solved
Regards,

Hakan ONEMLI

Harbour & VS 2019 & FWH 20.12
Post Reply