FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Different dialog sizes using Borland and MSVC
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Different dialog sizes using Borland and MSVC
Posted: Fri Oct 14, 2022 09:53 AM

When linking with MSVC please use this linker flag:

/SUBSYSTEM:WINDOWS,5.01

Now both will have the same size. Borland uses 5 by default and MSVC uses 6 by default

Thanks to Bruno Cantero!

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Different dialog sizes using Borland and MSVC
Posted: Fri Oct 14, 2022 09:56 AM

This linker flag also allows to open a console if needed:

/SUBSYSTEM:CONSOLE,5.01

thanks to Bruno Cantero!

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Re: Different dialog sizes using Borland and MSVC
Posted: Mon Oct 17, 2022 05:50 PM

I tried that with my .mak file, and also with my VS IDE builds, and it draws an error message that says it is not compatible.

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

Continue the discussion