Re: Building Harbour + FWH apps from Visual Studio 2012
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Sun May 12, 2013 5:26 pm
by Antonio Linares
Required settings (in progress, refresh this)
Create a new project this way:
![Image](http://img706.imageshack.us/img706/6686/captureuxv.png)
Add your PRGs as explained here:
https://code.google.com/p/fivewinrt/wiki/Compiling_PRGs_from_Visual_Studio_2012Libraries to link:
![Image](http://img824.imageshack.us/img824/838/captureqft.png)
![Image](http://img195.imageshack.us/img195/6883/capturees.png)
![Image](http://img839.imageshack.us/img839/4734/capturemex.png)
Re: Building Harbour + FWH apps from Visual Studio 2012
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Sun May 12, 2013 6:28 pm
by Horizon
Hi Antonio,
Is .net framework required for compiled exe to be run?
Re: Building Harbour + FWH apps from Visual Studio 2012
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Mon May 13, 2013 7:36 am
by Richard Chidiak
Antonio
Great news
which 2012 express did you chose ?
Visual Studio Express 2012 for Windows 8
or
Visual Studio Express 2012 for Windows Desktop
Richard
Re: Building Harbour + FWH apps from Visual Studio 2012
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Mon May 13, 2013 8:14 am
by Antonio Linares
Richard,
I use VIsual Studio 2012 Ultimate. I think it is the most complete one. I get it free thanks to the University
![Smile :-)](./images/smilies/icon_smile.gif)
[
![Image](http://img594.imageshack.us/img594/4158/captureovh.png)
In fact students get all the Microsoft products for free, including Windows, Windows servers, Visual Studio, etc:
http://forums.fivetechsupport.com/viewtopic.php?p=91275#p91275
Re: Building Harbour + FWH apps from Visual Studio 2012
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Wed Jul 03, 2013 2:13 pm
by Horizon
Hi Antonio,
Trying to compile tutor02.prg in vs2012 as you written above.
I could not find the Comctl32.lib, MSImg32.lib, OleDbg.lib and Version.lib.
I got this error and can not build prg.
- Code: Select all Expand view
c:\users\hp\documents\visual studio 2012\projects\tutor02\tutor02\tutor02.c(78): fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "stdafx.h"' to your source?
Any help?
Thanks
Re: Building Harbour + FWH apps from Visual Studio 2012
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Wed Jul 03, 2013 3:30 pm
by Antonio Linares
Hakan,
Those libs are here:
c:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Lib\
Remove the (x86) is you are using a Windows 32 bits.
In the VS2012 project properties select not to use precompiled headers
Re: Building Harbour + FWH apps from Visual Studio 2012
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Wed Jul 03, 2013 5:05 pm
by Horizon
Antonio,
Is it possible to zip tutor02 project files and send me?
Thanks.
Re: Building Harbour + FWH apps from Visual Studio 2012
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Thu Jul 04, 2013 2:44 am
by Antonio Linares
Re: Building Harbour + FWH apps from Visual Studio 2012
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Thu Jul 04, 2013 11:38 am
by Horizon
Thank you Antonio,
I have achieved to compile and run it. Is it faster than normal compile?
Re: Building Harbour + FWH apps from Visual Studio 2012
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Thu Jul 04, 2013 2:43 pm
by Antonio Linares
Hakan,
All C compilers (and makes) are quite similar so its not a matter of speed, it is more a matter of using Microsoft tools, that it is something that each developer/company may assess in a different way.
Microsoft C provides a great low level debugger, which it is something very usefull on some (rare) ocassions, for example we can visually trace Harbour activity, how it boots, etc. It also includes a great low level profiler. These are very good tools that we don't have with Borland C (in fact, its getting harder to get the C compiler from Borland, as they don't allow redistribution of their free files, etc).
And though I admit that gcc is a great tool, the fact that we have to install MinGW, and change many things related to the way we are used to work makes me think its a clever desition to use Microsoft Visual C, that we can easily get for free (express version) from Microsoft.
Re: Building Harbour + FWH apps from Visual Studio 2012
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Fri Jul 05, 2013 8:46 am
by elvira
Antonio,
Is it posible to build applications with VS2012 or MSVC2012 using the build.bat file?.
Thanks