Now i have understandI miss because my object/file is named getsys_d.prg instead getsys.prg I must redefine the whole module (file = object). Linking is done per object file, not per function. will be redefined function contained in same module name or better module with same name will be substituted replaceable function not exist in harbour like in clipper where afaik is at function level now i have understand because there is a lot of module in c:\harbour\source\rtl so is possible alert,inkey,achoice replacement (each for file/module)
2009/4/21 Viktor Szakáts <[email protected]> > Hi Viktor >> please help me undestrand >> when using Replacement function is possible and when is wrong and >> dangerous >> Is dangerous also at prg level? >> > > Sorry I don't understand. You simply have to use unique public names > in your app, both in .prg and .c, that's all. > > >> In getsys must i redefine all public functions defined in RTL version? >> (and not only one function) >> c:\harbour\source\rtl\getsys,prg >> > > You must redefine the whole module (file = object). Linking is done > per object file, not per function. > > >> I continue my clean but found follow problem >> c:/harbour/mingw/lib/libhbclipsm.a(date.o):date.c:(.text+0x230): first >> defined >> ere >> c:/harbour/mingw/lib/libGTWVG.a(wvgpaint.o):wvgpaint.c:(.text+0x5690): >> multiple >> definition of `HB_FUN_WVT_PASTEFROMCLIPBOARD' >> > > This makes no sense, please read that output again, the collision is > elsewhere. > > Brgds, > Viktor > > > _______________________________________________ > Harbour mailing list > [email protected] > http://lists.harbour-project.org/mailman/listinfo/harbour > > -- Massimo Belgrano
_______________________________________________ Harbour mailing list [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
