Re: [Harbour] hbwin.lib error

2010-01-26 Thread Przemysław Czerpak
On Tue, 26 Jan 2010, Szak�ts Viktor wrote: Hi, > I'll commit the separation ASAP, to clear that part up. Thank you. best regards, Przemek ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.o

Re: [Harbour] hbwin.lib error

2010-01-26 Thread Viktor Szakáts
I'll commit the separation ASAP, to clear that part up. Brgds, Viktor On 2010 Jan 26, at 16:53, Przemysław Czerpak wrote: > On Tue, 26 Jan 2010, Xavi wrote: > > Hi, > >>> Now everyone who use WIN_PRN class has to link his code >>> with PNG library even if it's unnecessary. >> PNG library is us

Re: [Harbour] hbwin.lib error

2010-01-26 Thread Viktor Szakáts
Hi Xavi (and also Przemek), On 2010 Jan 26, at 16:32, Xavi wrote: >> Now everyone who use WIN_PRN class has to link his code >> with PNG library even if it's unnecessary. > > PNG library is used in win_BitMapDimensions, now is not used in WIN_PRN class > to print win_BMPs class. > Note that now

Re: [Harbour] hbwin.lib error

2010-01-26 Thread Przemysław Czerpak
On Tue, 26 Jan 2010, Xavi wrote: Hi, > >Now everyone who use WIN_PRN class has to link his code > >with PNG library even if it's unnecessary. > PNG library is used in win_BitMapDimensions, now is not used > in WIN_PRN class to print win_BMPs class. It is because it's in the same file as other fu

Re: [Harbour] hbwin.lib error

2010-01-26 Thread Xavi
Hi, Now everyone who use WIN_PRN class has to link his code with PNG library even if it's unnecessary. PNG library is used in win_BitMapDimensions, now is not used in WIN_PRN class to print win_BMPs class. Note that now it's a RAW implementation driver dependent and some drivers don't need t

Re: [Harbour] hbwin.lib error

2010-01-26 Thread Viktor Szakáts
>>> I think this should be modified to use REQUEST mechanism, i.e. >>> REQUEST HB_PNG >>> Now everyone who use WIN_PRN class has to link his code >>> with PNG library even if it's unnecessary. >> I can't oversee this solution, but if it >> helps us to loosen this dependency, you're >> probably r

Re: [Harbour] hbwin.lib error

2010-01-26 Thread Przemysław Czerpak
On Tue, 26 Jan 2010, Szak�ts Viktor wrote: Hi, > > I think this should be modified to use REQUEST mechanism, i.e. > > REQUEST HB_PNG > > Now everyone who use WIN_PRN class has to link his code > > with PNG library even if it's unnecessary. > I can't oversee this solution, but if it > helps us

Re: [Harbour] hbwin.lib error

2010-01-26 Thread Viktor Szakáts
Hi, >> Either use hbwin.hbc to link in hbwin module. Or add >> libpng lib to the liblist manually. (first option strong >> preferred, to avoid any similar problems in the future) >> Also see: >> contrib\hbwin\hbwin.hbc > > I think this should be modified to use REQUEST mechanism, i.e. > REQ

Re: [Harbour] hbwin.lib error

2010-01-26 Thread Przemysław Czerpak
On Tue, 26 Jan 2010, Szak�ts Viktor wrote: Hi, > Either use hbwin.hbc to link in hbwin module. Or add > libpng lib to the liblist manually. (first option strong > preferred, to avoid any similar problems in the future) > Also see: >contrib\hbwin\hbwin.hbc I think this should be modified to

Re: [Harbour] hbwin.lib error

2010-01-25 Thread Viktor Szakáts
Hi Itamar, Either use hbwin.hbc to link in hbwin module. Or add libpng lib to the liblist manually. (first option strong preferred, to avoid any similar problems in the future) Also see: contrib\hbwin\hbwin.hbc Brgds, Viktor On 2010 Jan 26, at 01:03, Itamar Lins wrote: > Hi! > See this: >

[Harbour] hbwin.lib error

2010-01-25 Thread Itamar Lins
Hi! See this: * $Id: ChangeLog 13709 2010-01-25 20:24:23Z vouchcac $ hbmk2: Processando arquivo de configura?Æo: D:\DEV\HARBOUR\BIN\hbmk.cfg hbmk2: Linkando... farol.exe hbwin.lib(win_bmp.obj) : error LNK2019: unresolved external symbol _png_get_io_ptr referenced in function "void __cdecl hb_png