FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour harbour for MSVC 2013?
Posts: 1387
Joined: Fri May 23, 2008 01:33 PM
harbour for MSVC 2013?
Posted: Mon Dec 09, 2013 01:42 PM

Hi Antonio,

Is it possible to compile harbour for MSVC 2013?. I have compiled it with 2010, but it exe that is created cannot run Win XP. It is ok in win7.

Thanks.

Regards,



Hakan ONEMLI



Harbour & MSVC 2022 & FWH 23.06
Posts: 946
Joined: Thu Oct 06, 2005 07:05 PM
Re: harbour for MSVC 2013?
Posted: Mon Dec 09, 2013 06:17 PM

Hakan

I use MSVC 2012 , in order to generate a xp compatible exe you must have at your link options

/nologo /subsystem:WINDOWS,5.01 /force:multiple /NODEFAULTLIB:libc /nxcompat:NO /machine:X86 /Ignore:4006

I have not yet tested MSVC 2013, will do in january

Hth

Richard

http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
Posts: 1387
Joined: Fri May 23, 2008 01:33 PM
Re: harbour for MSVC 2013?
Posted: Mon Dec 09, 2013 08:07 PM

Thank you Richard,

I will test it tomorrow. I did not use 2012, but It seems database procedures in vs2013 is slower than vs2010. I use DBFCDX.

Regards,



Hakan ONEMLI



Harbour & MSVC 2022 & FWH 23.06
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: harbour for MSVC 2013?
Posted: Tue Dec 10, 2013 08:52 AM
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1387
Joined: Fri May 23, 2008 01:33 PM
Re: harbour for MSVC 2013?
Posted: Tue Dec 10, 2013 09:30 AM
Antonio Linares wrote:Hakan,

Have you tried this one ?

https://code.google.com/p/harbour-and-xharbour-builds/downloads/detail?name=harbour_msvc2012_20131007_2.zip


Hi Antonio,

I have not tried yet. But as I said before, vs2103 is seems to be slower than 2010 without using your links harbour.

Thanks.
Regards,



Hakan ONEMLI



Harbour & MSVC 2022 & FWH 23.06
Posts: 1387
Joined: Fri May 23, 2008 01:33 PM
Re: harbour for MSVC 2013?
Posted: Sun Dec 15, 2013 06:08 PM
Antonio Linares wrote:Hakan,

Have you tried this one ?

https://code.google.com/p/harbour-and-xharbour-builds/downloads/detail?name=harbour_msvc2012_20131007_2.zip


Hi Antonio,

In order to make sure install vs2013 properly, I have uninstall and install it. And I used your last link harbour. I am not sure about the speed now. I should work it for a while. (Is there any database test prg, I can test it with vs2010 and vs2013). But I have some issues about vs2013.

hb_compiler() still says 16.0.xxxx, but I am sure I have compiled with the new version of vs2013. It says 18.0.xxxxx in compiler logo.

I cannot explain clearly, but I think there is a difference coordinate system of dialog. (I dont use window other than main window). I have changed automatic calculated buttons coordinates a few.

I can not run exe's in xp created with vs2013. Richard advised me the below link option. I have also tried it. but it runs exe but. there is no action. There was an error message like that "this is not a 32 bit application" without changing link parameters.

Code (fw): Select all Collapse
/nologo /subsystem:WINDOWS,5.01 /force:multiple /NODEFAULTLIB:libc /nxcompat:NO /machine:X86 /Ignore:4006


Any advise?
Regards,



Hakan ONEMLI



Harbour & MSVC 2022 & FWH 23.06
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: harbour for MSVC 2013?
Posted: Wed Dec 18, 2013 12:35 PM

Hakan,

This should work: /subsystem:WINDOWS,5.01 as Fernando Gondi found.

Fernando, could you confirm it ? thanks

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 694
Joined: Fri Oct 07, 2005 06:58 AM
Re: harbour for MSVC 2013?
Posted: Wed Dec 18, 2013 01:06 PM
Si,
Compilo con MSVC2012 y uso:
Code (fw): Select all Collapse
/nologo /subsystem:WINDOWS,5.01 /force:multiple /NODEFAULTLIB:libc /nxcompat:NO /machine:X86 /Ignore:4006


Sin "/subsystem:WINDOWS,5.01", al ejecutar en windows 7 en adelante muestra un mensaje con "aplicación 32 no valida"

Richard Chidiak encontro que era necesario una actualización para MSVC2012, quizas tambien hay que actualizar MSVC2013
http://forums.fivetechsupport.com/viewtopic.php?f=3&t=27581

Yes,
I compile with MSVC2012 and i use:
Code (fw): Select all Collapse
/nologo /subsystem:WINDOWS,5.01 /force:multiple /NODEFAULTLIB:libc /nxcompat:NO /machine:X86 /Ignore:4006


without "/subsystem:WINDOWS,5.01", to run on windows 7 onwards shows a message "no valid application 32"

Richard Chidiak find an update for MSVC2012 necessary, perhaps also be updated MSVC2013
http://forums.fivetechsupport.com/viewtopic.php?f=3&t=27581
Un saludo

Fernando González Diez

ALSIS Sistemas Informáticos

Continue the discussion