Different dialog sizes using Borland and MSVC

Different dialog sizes using Borland and MSVC

Postby Antonio Linares » Fri Oct 14, 2022 9: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42068
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Different dialog sizes using Borland and MSVC

Postby Antonio Linares » Fri Oct 14, 2022 9: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42068
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Different dialog sizes using Borland and MSVC

Postby TimStone » Mon Oct 17, 2022 5: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
User avatar
TimStone
 
Posts: 2943
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 24 guests