FWH / Harbour with MS VC++ 2013

FWH / Harbour with MS VC++ 2013

Postby bradmaudlin » Fri Apr 29, 2016 6:44 pm

Hi,

I have been using FW for Harbour/xHarbour with BCC5.8.2 C++ for years... I thought I would try compiling some of the samples (C:\FWH\Samples\) using Microsoft C++ compilier instead of Embarcadero.
I am using buildh32.bat and get a lot of warnings and errors.

First, I am currently using FWH 15.01 32bit and Harbour 3.2.0.
Will both of these work with the Microsoft C++ compilier?? If I look at the .c code generated it says Borland C++ 5.8.2 (32-bit) at the top of it.
/*
* Harbour 3.2.0dev (r1501292255)
* Borland C++ 5.8.2 (32-bit)
* Generated C source from "graph.prg"
*/


Do I need FW and Harbour .lib's built for microsoft??

I also tried setting it up in as a project in "Visual Studios 2013" and get the exact same errors.

Thanks,

Brad.
bradmaudlin
 
Posts: 27
Joined: Fri Jan 11, 2008 9:58 pm
Location: St Joe, MO

Re: FWH / Harbour with MS VC++ 2013

Postby TimStone » Fri Apr 29, 2016 6:59 pm

First, with FWH 16.03 and beyond, all MSVC files are built with Visual Studio 2015 Community edition, which is free to you from Microsoft. There were some significant changes made to the C compiler with this version.

Antonio has provided a set of libs with the latest Harbour release that you can use to build your programs. For the past few months, there are several articles on the forum about the issues that arose, and I think as of today, they have all been resolved. I now have a fully functioning, very large, application running without any ( found ) flaws at this time using FWH 16.03, Harbour 3.2 ( 32 bit ), MSVC 2015.

If you want to build using Visual Studio 2013, you will need to use the libs in FWH 16.02 or before, and yes, you do need to use Microsoft built Harbour files.

Tim
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: FWH / Harbour with MS VC++ 2013

Postby bradmaudlin » Fri Apr 29, 2016 8:46 pm

Thanks for your quick reply, and I have been following your posts on using Visual Studios 2015 (that's what made me think about switching).
I think I might upgrade FW to 16.?? and VS 2015 Community and try again.

Any Pro's or Con's in using MSVC 2015 compared to BCC5.8.2?
Does the Resource Editor work OK?

Thanks again for your time,

Brad
bradmaudlin
 
Posts: 27
Joined: Fri Jan 11, 2008 9:58 pm
Location: St Joe, MO

Re: FWH / Harbour with MS VC++ 2013

Postby Antonio Linares » Sat Apr 30, 2016 6:34 am

Brad,

You need FWH 16.03 and VSC2015 (Visual Studio community)

They work very fine together, in both 32 and 64 bits.
regards, saludos

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


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 56 guests