Page 1 of 1

Different dialog sizes using Borland and MSVC

Posted: Fri Oct 14, 2022 9:53 am
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!

Re: Different dialog sizes using Borland and MSVC

Posted: Fri Oct 14, 2022 9:56 am
by Antonio Linares
This linker flag also allows to open a console if needed:

/SUBSYSTEM:CONSOLE,5.01

thanks to Bruno Cantero!

Re: Different dialog sizes using Borland and MSVC

Posted: Mon Oct 17, 2022 5:50 pm
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.