FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour help - back to harbour and ms c
Posts: 566
Joined: Thu Aug 30, 2007 03:40 PM
help - back to harbour and ms c
Posted: Thu Aug 20, 2009 02:33 AM

hi, i use xharbour cvs and borland c 551 for several years, but now, i want back to harbour and , if possible, change to microsoft c, someone has some guidelines? tips? how to down cvs of harbour? compile, link...

very thanks

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: help - back to harbour and ms c
Posted: Thu Aug 20, 2009 07:12 AM
Norberto,

To download Harbour from its SVN server you can use this checkout.bat:

"C:\Program Files"\SVN\bin\svn.exe checkout https://harbour-project.svn.sourceforge.net/svnroot/harbour-project/trunk/harbour

svn.exe is available from here:
http://www.fivetechsoft.com/files/software/svn.zip
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 566
Joined: Thu Aug 30, 2007 03:40 PM
Re: help - back to harbour and ms c
Posted: Thu Aug 20, 2009 12:39 PM

Antonio, very thanks, i will try this... could you or someone help me with migrate to microsoft C? or some link about this. very thanks again.

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: help - back to harbour and ms c
Posted: Thu Aug 20, 2009 12:44 PM

Norberto,

Simply review FWH\samples\buildhm.bat

It is quite easy :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 566
Joined: Thu Aug 30, 2007 03:40 PM
Re: help - back to harbour and ms c
Posted: Thu Aug 20, 2009 12:56 PM

Antonio, very thanks, one last question: exists an trial version or free version of microsoft C? to use with harbour i use only command line compiler , right? if dont exist, which version i can buy?? thanks again.

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: help - back to harbour and ms c
Posted: Thu Aug 20, 2009 01:11 PM

Norberto,

Yes, Microsoft uses to include cl.exe, link.exe, libraries and include files in Visual Studio demo versions.

Those files are the ones that you just need.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 337
Joined: Fri Oct 07, 2005 02:44 PM
Re: help - back to harbour and ms c
Posted: Thu Aug 20, 2009 02:13 PM

Norberto,

You can download windows sdk, inside ( normaly in c:\program files\microsoft sdks\windows\v6.0\vc ) is the visual c compiler and other tools, or you can download visual c++ express it's free.

Atte.,

Lautaro Moreira

Hola,

Soy un Contador que por necesidad aprendio a programar y se quedo programando.
Posts: 566
Joined: Thu Aug 30, 2007 03:40 PM
Re: help - back to harbour and ms c
Posted: Thu Aug 20, 2009 06:48 PM

HI, after some tests, i get this :

rtl.lib : fatal erro lnk1136: invalid or corrupt file

i should compile all xharbour libs with ms vc??
thanks

Posts: 337
Joined: Fri Oct 07, 2005 02:44 PM
Re: help - back to harbour and ms c
Posted: Thu Aug 20, 2009 07:58 PM

Norberto,

You need a xharbour build with msvc, or rebuild yourself.

Atte.,

Lautaro

Hola,

Soy un Contador que por necesidad aprendio a programar y se quedo programando.
Posts: 1335
Joined: Fri Jun 13, 2008 11:04 AM
Re: help - back to harbour and ms c
Posted: Fri Aug 21, 2009 05:02 AM

If you are going to use Microsoft C/C++ Compiler instead of Borland then

I think instead of
FiveHc.Lib you have to use FiveHcM.Lib
FiveHx.Lib you have to use FiveHxM.Lib

And if u r going to use Harbour instead of xHarbour then instead of ,
FiveH.Lib you have to use FiveHM.Lib

Regards
Anser

Continue the discussion