MSVC 2017 Try

MSVC 2017 Try

Postby Horizon » Wed Mar 22, 2017 9:26 am

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 & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Re: MSVC 2017 Try

Postby TimStone » Wed Mar 22, 2017 2:51 pm

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
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: MSVC 2017 Try

Postby Antonio Linares » Thu Mar 23, 2017 6:45 am

regards, saludos

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

Re: MSVC 2017 Try

Postby Horizon » Fri Mar 24, 2017 6:11 am

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 & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Re: MSVC 2017 Try

Postby José Luis Sánchez » Fri Mar 24, 2017 7:29 am

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
User avatar
José Luis Sánchez
 
Posts: 556
Joined: Thu Oct 13, 2005 9:23 am
Location: Novelda - Alicante - España

Re: MSVC 2017 Try

Postby Horizon » Fri Mar 24, 2017 7:51 am

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/visualstudio/install/create-an-offline-installation-of-visual-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 & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Re: MSVC 2017 Try

Postby José Luis Sánchez » Fri Mar 24, 2017 8:03 am

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

Regards,
User avatar
José Luis Sánchez
 
Posts: 556
Joined: Thu Oct 13, 2005 9:23 am
Location: Novelda - Alicante - España

Re: MSVC 2017 Try

Postby Horizon » Fri Mar 24, 2017 8:09 am

Hi,

First problem : Not run under XP

Solution : Change the hbrtl.lib with harbour\lib

https://bitbucket.org/fivetech/harbour-xharbour-builds/downloads/hbrtl_vsc2015_32bits_XP.zop
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Re: MSVC 2017 Try

Postby Antonio Linares » Fri Mar 24, 2017 8:19 am

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
Antonio Linares
Site Admin
 
Posts: 42093
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: MSVC 2017 Try

Postby byte-one » Fri Mar 24, 2017 9:17 am

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
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria

Re: MSVC 2017 Try

Postby Antonio Linares » Fri Mar 24, 2017 4:51 pm

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
User avatar
Antonio Linares
Site Admin
 
Posts: 42093
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: MSVC 2017 Try

Postby Horizon » Fri Mar 24, 2017 5:40 pm

Hi Antonio,

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

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Re: MSVC 2017 Try

Postby Antonio Linares » Fri Mar 24, 2017 6:20 pm

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: 42093
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: MSVC 2017 Try

Postby Antonio Linares » Fri Mar 24, 2017 6:36 pm

Building Harbour 32 bits with VSC2017

go32.bat
Code: Select all  Expand view
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
User avatar
Antonio Linares
Site Admin
 
Posts: 42093
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: MSVC 2017 Try

Postby Horizon » Fri Mar 24, 2017 7:55 pm

http://forums.fivetechsupport.com/viewtopic.php?f=3&t=32188&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 & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Next

Return to FiveWin for Harbour/xHarbour

Who is online

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