Different dialog sizes using Borland and MSVC

Post Reply
User avatar
Antonio Linares
Site Admin
Posts: 42595
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 38 times
Been thanked: 86 times
Contact:

Different dialog sizes using Borland and MSVC

Post by Antonio Linares »

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
User avatar
Antonio Linares
Site Admin
Posts: 42595
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 38 times
Been thanked: 86 times
Contact:

Re: Different dialog sizes using Borland and MSVC

Post by Antonio Linares »

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
User avatar
TimStone
Posts: 2956
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA
Has thanked: 25 times
Been thanked: 2 times
Contact:

Re: Different dialog sizes using Borland and MSVC

Post by TimStone »

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
Post Reply