harbour for MSVC 2013?

Post Reply
Horizon
Posts: 997
Joined: Fri May 23, 2008 1:33 pm

harbour for MSVC 2013?

Post by Horizon »

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 & VS 2019 & FWH 20.12
User avatar
Richard Chidiak
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France
Contact:

Re: harbour for MSVC 2013?

Post by Richard Chidiak »

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
Horizon
Posts: 997
Joined: Fri May 23, 2008 1:33 pm

Re: harbour for MSVC 2013?

Post by Horizon »

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 & VS 2019 & FWH 20.12
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: harbour for MSVC 2013?

Post by Antonio Linares »

regards, saludos

Antonio Linares
www.fivetechsoft.com
Horizon
Posts: 997
Joined: Fri May 23, 2008 1:33 pm

Re: harbour for MSVC 2013?

Post by Horizon »

Antonio Linares wrote:Hakan,

Have you tried this one ?

https://code.google.com/p/harbour-and-x ... 1007_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 & VS 2019 & FWH 20.12
Horizon
Posts: 997
Joined: Fri May 23, 2008 1:33 pm

Re: harbour for MSVC 2013?

Post by Horizon »

Antonio Linares wrote:Hakan,

Have you tried this one ?

https://code.google.com/p/harbour-and-x ... 1007_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: Select all

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

Hakan ONEMLI

Harbour & VS 2019 & FWH 20.12
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: harbour for MSVC 2013?

Post by Antonio Linares »

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
User avatar
fgondi
Posts: 636
Joined: Fri Oct 07, 2005 6:58 am
Location: Palencia, España
Contact:

Re: harbour for MSVC 2013?

Post by fgondi »

Si,
Compilo con MSVC2012 y uso:

Code: Select all

/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/viewt ... =3&t=27581

Yes,
I compile with MSVC2012 and i use:

Code: Select all

/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/viewt ... =3&t=27581
Un saludo
Fernando González Diez
ALSIS GHE Sistemas Informáticos
Post Reply