nageswaragunupudi wrote:All the new developments are resulting in linking of many new functions, all of which may or may not be really necessary for the actual application.
Probably we may need to examine what all the functions that are included in the final exe and split some library modules so that only the needed functions are linked.
Antonio Linares wrote:Enrico,
Have you compared the size of an EXE with and without FWH ?
#include "Fivewin.ch"
FUNCTION MAIN()
RETURN NIL
Antonio Linares wrote:Enrico,
Please add a RDD function call (i.e. DbCreate()) to force the link of the RDD system in the non FWH app
FUNCTION MAIN()
USE TEST
RETURN NIL
FUNCTION MAIN()
LOCAL oWord := CREATEOBJECT( "Word.Application" )
oWord:Quit()
USE TEST
RETURN NIL
Joe Armstrong, the principal inventor of Erlang, is quoted as saying "The problem with object-oriented languages is they've got all this implicit environment that they carry around with them. You wanted a banana but what you got was a gorilla holding the banana and the entire jungle."
function TWindow()
return nil
Antonio Linares wrote:Enrico,
Its almost impossible to reduce size due the use of Object Oriented programming, because classes inherit ones from anothers so finally we get the whole "gorilla" even if we just want the "banana"
Antonio Linares wrote:In case that you are just going to build a small tool and not a complete app, then you can replace FWH Classes with dummy functions to remove the "gorilla"
- Code: Select all Expand view
function TWindow()
return nil
#include 'fivewin.ch'
function Main()
msginfo( 'ok' )
return nil
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: nageswaragunupudi and 110 guests