EXE size linking FWH 13.01

EXE size linking FWH 13.01

Postby ADutheil » Sun Feb 03, 2013 12:14 am

EXE size seems to shrink around 900Kb with FWH 13.01. Is this correct?
Regards,

André Dutheil
FWH 13.04 + HB 3.2 + MSVS 10
ADutheil
 
Posts: 368
Joined: Sun May 31, 2009 6:25 pm
Location: Salvador - Bahia - Brazil

Re: EXE size linking FWH 13.01

Postby Enrico Maria Giordano » Sun Feb 03, 2013 11:52 am

I haven't found any difference in EXE sizes.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8315
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: EXE size linking FWH 13.01

Postby nageswaragunupudi » Sun Feb 03, 2013 11:57 am

ADutheil wrote:EXE size seems to shrink around 900Kb with FWH 13.01. Is this correct?

Linking with or without xbrowse normally makes a difference of 900kb
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10248
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: EXE size linking FWH 13.01

Postby ADutheil » Sun Feb 03, 2013 7:10 pm

I checked the 3 projects I´m currently working on and all their EXE shrinked aroud 900Kb. It happens with MSVC10 but not with MINGW.
Regards,

André Dutheil
FWH 13.04 + HB 3.2 + MSVS 10
ADutheil
 
Posts: 368
Joined: Sun May 31, 2009 6:25 pm
Location: Salvador - Bahia - Brazil

Re: EXE size linking FWH 13.01

Postby Antonio Linares » Mon Feb 04, 2013 12:18 am

André,

If you generate a MAP file of both EXEs, then you can compare them and check where the difference comes from :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41314
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: EXE size linking FWH 13.01

Postby ADutheil » Mon Feb 04, 2013 12:08 pm

FWH1301 generates a 10747 lines file while FWH1212 produces 14197 lines. Is there any tool to compare?

One obvious difference is the linker do not complain anymore about duplicated _HB_FUN_DRIVETYPE with FWH1301 while with FWH1212 it shows:

FIVEHC32.lib(STRTOKEN.obj) : warning LNK4006: _HB_FUN_STRTOKEN already defined in HBMISC.lib(stringsx.obj); second definition ignored
FIVEHC32.lib(C5CNEW.obj) : warning LNK4006: _HB_FUN_DRIVETYPE already defined in HBCT.lib(disk.obj); second definition ignored
Regards,

André Dutheil
FWH 13.04 + HB 3.2 + MSVS 10
ADutheil
 
Posts: 368
Joined: Sun May 31, 2009 6:25 pm
Location: Salvador - Bahia - Brazil

Re: EXE size linking FWH 13.01

Postby Antonio Linares » Mon Feb 04, 2013 12:12 pm

André,

UltraCompare works fine, you may download it from www.ultraedit.com :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41314
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: EXE size linking FWH 13.01

Postby James Bott » Mon Feb 04, 2013 6:32 pm

See WinMerge (free)

http://www.winmerg.org
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Re: EXE size linking FWH 13.01

Postby Antonio Linares » Mon Feb 04, 2013 6:42 pm

James,

Many thanks, I wasn't aware of it :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41314
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: EXE size linking FWH 13.01

Postby ADutheil » Tue Feb 05, 2013 11:32 am

Thanks James winmerge was easyer to visualize differences for me.

Antonio here are some functions, not all, that are in FWH1212 map and not in FWH1301:
VMMODE
CSTR
ARRAYID
GETLASTERROR
BASETEXT
CREATEFONTAS
WNDBOXCLR
SETMSGBARDEFAULT
GETMSGBARDEFAULT
GETUSEDFONTS

I´am just asking out of curiosity because till now everything is working fine and having a smaller exe is always good.
Regards,

André Dutheil
FWH 13.04 + HB 3.2 + MSVS 10
ADutheil
 
Posts: 368
Joined: Sun May 31, 2009 6:25 pm
Location: Salvador - Bahia - Brazil


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 81 guests