Re: [Harbour] New write access

2009-07-30 Thread toni...@fwi
>Hi All, > >I'd like to add Jose Luis Capel to our developer team. A welcome from Brazil Jose... Toninho. __ Faça ligações para outros computadores com o novo Yahoo! Messenger http://br.beta.messenger.yahoo.com/

[Harbour] Help for win/bcc

2009-08-04 Thread toni...@fwi
Hi, Now that fwh is ready for svn I´m trying to compile harbour, but I see that some libs like hbwin is not here. What I´m missing ? this is my .BAT file, I use it in e:\ and hharbour is the harbour from SVN, clean --cut--- cd\hharbour set HB_BIN_INSTALL=c:\harbour\bin set HB_LIB_INSTALL=c:\ha

Re: [Harbour] Help for win/bcc

2009-08-04 Thread toni...@fwi
Hi, Maybe this is the source of the problem: ---cut--- Error: Unresolved external 'WSAIoctl' referenced from E:\HHARBOUR\LIB\WIN\BCC\HBRTL.LIB|hbsocket mingw32-make[3]: *** [hbrun.exe] Error 1 mingw32-make[3]: Leaving directory `E:/hharbour/utils/hbrun/obj/win/bcc' mingw32-make[2]: *** [descend]

Re: Re: [Harbour] Help for win/bcc

2009-08-05 Thread toni...@fwi
Hi Massimo. >afaik you can remove >set ADS_VER=7 >it detect version in e:\ads\acesdk I know and it is intentional. My question is: Why Error: Unresolved external 'WSAIoctl' referenced from E:\HHARBOUR\LIB\WIN\BCC\HBRTL.LIB|hbsocket ? Regards, Toninho. __

Re: [Harbour] Help for win/bcc

2009-08-05 Thread toni...@fwi
Hi Viktor, The problem is solved by adding ws2_32.lib in \harbour\utils\hbrun\makefile What can be the problem? My environment? TIA and best regards, Toninho. __ Faça ligações para outros computadores com o novo Yahoo! Messenger http://br.beta.me

[Harbour] Suspicious pointer conversion in function

2009-08-06 Thread toni...@fwi
Hi, I´m trying to compile my app with latest SVN and I have a lot of Suspicious pointer conversion in function like this: ---cut--- HB_FUNC( XTL_DISPLAY ) { PHB_ITEM pText = hb_param( 2, HB_IT_STRING ); if( pText ) { char * pszBuffer = hb_itemGetCPtr( pText ); int iLen = hb

[Harbour] OLE and reference variables

2009-08-08 Thread toni...@fwi
Hi, I have problems with OLE and variables by reference, exemple: ---cut--- oOle = Win_OleCreateObject( "NFe_Util_PL005a.Util" ) cName = "" cMess = "" oOle:PegaNomeCertificado( @cName, @cMess ) ? cName,cMess ---cut--- cName and cMess is always empty. Any hint please ? Thanks abd best regards,

Re: [Harbour] OLE and reference variables

2009-08-08 Thread toni...@fwi
Hi friends, Only to know: tested with XHarbour and works perfectly. Regards, Toninho. __ Faça ligações para outros computadores com o novo Yahoo! Messenger http://br.beta.messenger.yahoo.com/ ___ Harbour

Re: Re: [Harbour] OLE and reference variables

2009-08-08 Thread toni...@fwi
>I'm rather sending you the patched source for you to do the testing, >as I don't want to install any new components into my system as admin, >also such test can't be uploaded to SVN. Hi Viktor, I tested olecore.c that you send me and I have the same result. Reference variables are empty. Thank

Re: Re: [Harbour] OLE and reference variables

2009-08-08 Thread toni...@fwi
>Okay. I hope someone will post portable test code for this >feature and I can look at it further, this way it's only >shot in the dark. Hi Viktor, if you want to test, please download this package (http://www.fwi.com.br/nfe.zip) and don't install anything, only you need is dotnetfx.exe and you n

[Harbour] Unresolved external '_HB_FUN___OBJGETVALUEDIFF

2009-08-11 Thread toni...@fwi
Hi friends, I´m trying to use xhb.lib and this sample: ---cut--- function main() ? valtoprg( 1 ) return ---cut--- but I receive errors: Error: Unresolved external '_HB_FUN_VALTOPRGEXP' referenced from E:\HARBOUR\HARBOUR\LIB\XHB.LIB|xcstr Error: Unresolved external '_HB_FUN___OBJGETVALUEDIFF'

Re: [Harbour] SF.net SVN: harbour-project:[12074] trunk/harbour

2009-08-11 Thread toni...@fwi
> * harbour/contrib/xhb/xcstr.prg >! disabled calling ValToPrgExp() used to serialize codeblocks >! use __objGetValueList() instead of __objGetValueDiff() which does > not exist in Harbour Thank you. Toninho. __ Faça ligações para out

Re: Re: [Harbour] Unresolved external '_HB_FUN___OBJGETVALUEDIFF

2009-08-11 Thread toni...@fwi
>Maybe someone will be able to port missing bits to Harbour, >which will be the best, if it's possible to do. Hi Viktor, is fixed after: 2009-08-11 17:19 UTC+0200 Przemyslaw Czerpak Regards, Toninho. __ Faça ligações para outros computadores com

Re: [Harbour] SF.net SVN: harbour-project:[12089] trunk/harbour

2009-08-12 Thread toni...@fwi
>+ implemented passing parameters by reference > Not tested at all - I do not have Windows and I'm not familiar > with OLE code/servers. I hope that Windows users can test it > and it Windows developers can update this code if necessary. Hi Przemek. I don´t have words to say th

Re: [Harbour] Re: Harbour OLE and byref

2009-08-14 Thread toni...@fwi
Hi Przemek, >If possible please make simple test and add at the end of >hb_oleItemToVariantRef() code: > > if( pVarRef ) > { > pVarRef->n1.n2.vt = VT_VARIANT | VT_BYREF; > pVarRef->n1.n2.n3.pvarVal = pVariant; > } I do it and now all byref vars return NIL >Now my list of OLE TODO

Re: Re: [Harbour] Re: Harbour OLE and byref

2009-08-14 Thread toni...@fwi
>Please also add at beginning of function hb_oleVariantToItem() > > if( pVariant->n1.n2.vt == VT_VARIANT | VT_BYREF ) > pVariant = pVariant->n1.n2.n3.pvarVal; > >and then test again. Hi Przemek, same result: all var is nil and now gpf too. ---cut--- static void hb_oleItemToVariantRef( VARI

Re: Re: [Harbour] Re: Harbour OLE and byref

2009-08-14 Thread toni...@fwi
Hi Przemek, >Thank you for your test but you added above if() statement to wrong >function hb_oleItemToVariantRef() and I asked about hb_oleVariantToItem(). >To avoid possible typos I'll commit some modifications to olecore.c >and I'll add code disabled by '#if 0' which uses such alternative >meth

Re: Re: [Harbour] Re: Harbour OLE and byref

2009-08-14 Thread toni...@fwi
>OK, thank you. So I'll left this code commented by #if 0 >Maybe somewhere in the future we will return to this subject. Hi Przemek. I thank you. Due to your changes I can use OLE byref with no problems. Best regards, Toninho. __ Faça ligações p

Re: [Harbour] SF.net SVN: harbour-project:[12114] trunk/harbour

2009-08-14 Thread toni...@fwi
Hi VIktor. >+ Added HB_COMPILER/HB_ARCHITECTURE to option list. These > should now be mostly optional. Maybe I´m missing something but now I receive this error with clean build: 'mingw32-make.exe' nao foi reconhecido como um comando interno ou externo, um programa operavel ou um arquiv

Re: Re: [Harbour] SF.net SVN: harbour-project:[12114] trunk/harbour

2009-08-14 Thread toni...@fwi
>Please don't use make_gnu.bat anymore. >Here is an optimized env with same effect: Thank you. Regards, Toninho. __ Faça ligações para outros computadores com o novo Yahoo! Messenger http://br.beta.messenger.yahoo.com/

Re: Re: [Harbour] Possible OleAuto bug

2009-08-19 Thread toni...@fwi
Hi, sorry to jump in. >In FWH Class TActiveX we use this code (which was working fine with >previous OleAuto version): I have a working class for TActiveX that user current SVN, here it is: ---cut--- #include "hbclass.ch" //---

Re: Re: [Harbour] Possible OleAuto bug

2009-08-20 Thread toni...@fwi
Hi Przemek, >hbwin library does not create any GUI objects directly so the Pritpal >question is still open. Where do you want to "attach" activex controls? Maybe we can create a class that need a hWnd parameter from external gui like FWH. I user corrent Harbour activeX with FWH in this way: --

Re: Re: [Harbour] error in hbwin ole with msvc

2009-03-25 Thread toni...@fwi
>I'd like to ask OLE users to the hbole, and give opinions about the above. Hi, There are any problem to change: static void hb_oleVariantToItem( PHB_ITEM pItem, VARIANT* pVariant ) to HRESULT hb_oleVariantToItem( PHB_ITEM pItem, VARIANT *pVariant ); Thanks and best regards, Toninho. ___

Re: Re: [Harbour] error in hbwin ole with msvc

2009-03-26 Thread toni...@fwi
Hi VIktor, >Toninho, please provide a patch because I have no idea what >HRESULT should be. An hbwinole.h is also needed if we >want to publish C level functions. I'd appreciate if you could >provide such patch and I will upload it. I looked at my code and I think that HRESULT is not needed. A si

Re: Re: [Harbour] error in hbwin ole with msvc

2009-03-26 Thread toni...@fwi
Hi Francesco. >do you use MSVC ? If yes, do you have tested same code after removing >-TP flag in config/msvc.cf and rebuild entire SVN ? No, I´m using BCC 6.10. New OLE seems work fine, except that GetActiveObject() is not working, as I posted in my last sample. Best regards, Toninho. _

Re: Re: [Harbour] error in hbwin ole with msvc

2009-03-26 Thread toni...@fwi
>New implementation does not generate RT error but simply returns NIL. >It's not longer necessary to use BEGIN SEQUENCE / END (BTW WITH {|e|break} >is missing) or TRY/CATCH. Thank you Przemek. Best regards, Toninho. ___ Yahoo! Mail - Sempre

Re: Re: [Harbour] error in hbwin ole with msvc

2009-03-27 Thread toni...@fwi
>sorry Toninho, I've missed your mail with a problem. Przemek was right >about OLE object creation code. No problem Mindaugas. Thank you for the nice code. >Yes, I know I've implemented it in a incompatible way, but missing of >some OLE server depends on installed software and is a normal situat

Re: Re: [Harbour] error in hbwin ole with msvc

2009-03-28 Thread toni...@fwi
>Hi Przemek and Mindaugas, > > >Il 26/03/2009 21.11, Przemyslaw Czerpak ha scritto: >> > >> 5. The hbwin TOLEAUTO class supports iteration by FOR EACH loop. > >Could you add FOR EACH and TIMESTAMP support ? >I've code like attached that doesn't work with new ole version. Hi friends, FWH TActiveX

Re: Re: [Harbour] error in hbwin ole with msvc

2009-03-28 Thread toni...@fwi
>It still uses old code. TOLEAUTO() does not exists in new code so if >you were able to link above peace of code then for sure it was using >old implementation. >If you want you can try to create wrapper functions from old to new >class: > function TOleAuto( ... ) > return hb_OleAuto( ... ) Th

Re: Re: [Harbour] error in hbwin ole with msvc

2009-04-06 Thread toni...@fwi
Hi Alex >Toninho, how did you resolve your problem? No, I´m using old winole that have support for numeric handle in new(hobj). To support FWH/HWGUI/MiniGui the new OLE need support it, but to have: ---cut--- METHOD New( uObj, cClass, cLicense ) CLASS TOleAuto ... ELSEIF ISNUMBER( uObj )

Re: Re: [Harbour] error in hbwin ole with msvc

2009-04-08 Thread toni...@fwi
Hi Mindaugas. This is the part of FWH activeX class: ---cut--- METHOD Default() CLASS TActiveX local hSink, aEv, bOldError, oError ::hActiveX = CreateActiveX( ::cProgId, ::nStyle, ::nLeft, ::nTop, ::nWidth, ::nHeight, ::hWnd, 0 ) ::hObj = AtlAxGetDisp( ::hActiveX ) bOldError = Err

Re: [Harbour] SF.net SVN: harbour-project:[10873] trunk/harbour

2009-04-16 Thread toni...@fwi
>+ added optional support for automatic GC activation. Hi Przemek, Thanks a lot for this. FWH call hb_gcAll() when a dialog end. Can we use automatic GC activation in FWH to avoid hb_gcAll() call ? TIA an dbest regards, Toninho. __ Faça liga

Re: Re: [Harbour] SF.net SVN: harbour-project:[10977] trunk/harbour

2009-05-04 Thread toni...@fwi
>First of all many thanks to Mindaugas for new and clean OLE support. Yes, +1 >I'd like to replace hbwin OLE support with new hbole implementation, >and my question is if there is still anything important missing which >would justify delaying this move? Viktor, TActiveX from FWH works in this way

Re: [Harbour] Using OLE and WIN_PRN classes

2009-05-11 Thread toni...@fwi
Hi Teo, I have the same problem here, so I'm using OLE from hbwin by now, because hbole is not 100% ready yet. Regards, Toninho. PS: send secont time... mail probelm again? __ Faça ligações para outros computadores com o novo Yahoo! Messenger htt

Re: Re: [Harbour] hbmk2: any features still missing?

2009-05-12 Thread toni...@fwi
>Thank you very much for your herculean efforts. +1, Regards, Toninho. ___ Yahoo! Mail - Sempre a melhor opção para você! Experimente já e veja as novidades. http://br.yahoo.com/mailbeta/tudonovo/ __

Re: [Harbour] SF.net SVN: harbour-project:[11039] trunk/harbour

2009-05-13 Thread toni...@fwi
>2009-05-14 01:16 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) > * harbour/contrib/rddads/ads1.c >* enable workaround code added in previous commit only for ACE 9.00. > If other ACE clients need it too then please report them. Hi Przemek. Thanks for your fix, but I'm an ADS 9.10

Re: Re: [Harbour] SF.net SVN: harbour-project:[11039] trunk/harbour

2009-05-14 Thread toni...@fwi
Przemek, thanks! >Please inform Extended System that AdsGetField(..., ADS_NONE) >for character fields longer then 23 bytes read from DBF tables increase >pulLen by one adding one garbage character to the end of string. Done. I´ll post any news here. Best regards, Toninho. ___

Re: Re: [Harbour] SF.net SVN: harbour-project:[11039] trunk/harbour

2009-05-14 Thread toni...@fwi
Przemek, thanks! >Please inform Extended System that AdsGetField(..., ADS_NONE) >for character fields longer then 23 bytes read from DBF tables increase >pulLen by one adding one garbage character to the end of string. Done. I´ll post any news here. Best regards, Toninho. _

[Harbour] About bug in AdsGetField()

2009-05-14 Thread toni...@fwi
Hi ppl. I´d posted this message in Advantage.General: ---cut--- I´m a Harbour user and our group found a problem when use AdsGetField(..., ADS_NONE): character fields longer then 23 bytes read from tables increase pulLen by one adding one garbage character to the end of string. Is this an expecte

[Harbour] About bug in AdsGetField()

2009-05-14 Thread toni...@fwi
Hi ppl. I´d posted this message in Advantage.General: ---cut--- I´m a Harbour user and our group found a problem when use AdsGetField(..., ADS_NONE): character fields longer then 23 bytes read from tables increase pulLen by one adding one garbage character to the end of string. Is this an expecte

Re: [Harbour] Using OLE and WIN_PRN classes

2009-05-16 Thread toni...@fwi
Hi Teo, I have the same problem here, so I'm using OLE from hbwin by now, because hbole is not 100% ready yet. Regards, Toninho. __ Faça ligações para outros computadores com o novo Yahoo! Messenger http://br.beta.messenger.yahoo.com/

Re: [Harbour] ActiveX names

2009-05-20 Thread toni...@fwi
Hi Mindaugas. Thank you for this great implementation. >current implementation of HB_ActiveX is: >CLASS HB_ActiveX FROM HB_OleAuto >VAR __hSink >ENDCLASS >Nothing more! Why not use __hSink directly in HB_OleAuto class? In this way we need only use HB_OleAuto to define an activex control.

Re: Re: [Harbour] hash() in harbour

2009-06-02 Thread toni...@fwi
>Grácias por la pronta respuesta. > >Estoy bajando los sources para probar nuevamente. Only one more hint: if you want access hashes with : like oHash:cName, you need compile Harbour with: set HB_USER_CFLAGS=-DHB_HASH_MSG_ITEMS Regards, Toninho. ___

Re: Re: [Harbour] Harbour forum tryout

2009-06-11 Thread toni...@fwi
>I would "strongly deny" the use of every language different from english. >I can't see the usefulness of a forum where core developers can't partecipate. +1, Toininho. __ Faça ligações para outros computadores com o novo Yahoo! Messenger http://b

Re: [Harbour] uhttpd v0.2

2009-06-13 Thread toni...@fwi
>Sources can be obtained from: >http://www.dbtopas.lt/hrb/uhttpd-0.2.zip Hi Mindaugas. I get your sources, can you please explain what I need to install it in my web page to have remote access ? I'm very interested in this topic but I don't have any web experience. Thank you and best regards,

[Harbour] New ActiveX sample

2009-06-16 Thread toni...@fwi
Hi friends, I´m a little puzzled with new Harbour ActiveX implementation, please see this sample: ---cut--- local oWindow, oActiveX DEFINE WINDOW oWindow FROM 0,0 to 400,300 TITLE "Flash Player" WIN_AxInit() oActiveX = WIN_AxGetControl( WAPI_CREATEWINDOWEX( 0, "AtlAxWin", "ShockwaveFl

Re: Re: [Harbour] New ActiveX sample

2009-06-16 Thread toni...@fwi
>Hi Toninho, >If you can make this sample compile/link without FWH, >I would add it to our tests dir, so it will be easier to test/fix it. Hi Viktor, thanks for answer. I need FWH as a gui but only DEFINE WINDOW and ACTIVATE WINDOW are from FWH, the rest is from Harbour. BTW the flash is here:

Re: Re: Re: [Harbour] New ActiveX sample

2009-06-16 Thread toni...@fwi
Hi Viktor, I write a new CREATEPTRACTIVEX function that works in FWH, but my app still GPF at end. I find a message in changelog from Pritpal about it: WvgActiveXControl() can be tested both with winsink|axcore event handellers. NOTE: CPP mode generates a GPF when ole is unloaded due to refcount

Re: Re: Re: Re: [Harbour] New ActiveX sample

2009-06-16 Thread toni...@fwi
>I believe you are not using GTWVG. Are you? If NO, then what you >are pointing to fix is not related with other components. This error >belongs to GTWVG' ActiveX implementation only. Hi Pritpal, Thank you, of fourse my GPF is in other place. Toninho. _

[Harbour] Strange char in log

2009-06-16 Thread toni...@fwi
Hi ppl, When I compile harbour I see a strange char in begin of line: ---cut--- E:\hharbour\contrib\hbmzip>if not exist ..\..\lib\win\bcc\. md ..\..\lib\win\bcc mingw32-make[3]: Entering directory `E:/hharbour/contrib/hbmzip/win/bcc' mingw32-make[3]: `../../../../lib/win/bcc/hbmzip.lib' is up to

[Harbour] Sample of GPF in WIN_AxInit()

2009-06-16 Thread toni...@fwi
Hi friends. If I only call WIN_AxInit() in a simple prg: ---cut--- function main() WIN_AxInit() return nil ---cut--- and compile: hbmk2 mytest -lhbwin.lib mytest.exe GPF... A real application GPF when finish. Regards, Toninho. __ Faça liga

Re: Re: Re: Re: [Harbour] New ActiveX sample

2009-06-16 Thread toni...@fwi
>I'll add a new API inside hbwin to return that value, so such >hacks won't be needed. Thank you Viktor. Works perfectly. Best regards, Toninho. ___ Yahoo! Mail - Sempre a melhor opção para você! Experimente já e veja as novidades. http

Re: [Harbour] SF.net SVN: harbour-project:[11392] trunk/harbour

2009-06-16 Thread toni...@fwi
>; Thanks Toninho for self contained 3 lines GPF sample without > FWH, gtwvg, etc! Thank you Mindaugas, for this great implementation. Regards, Toninho. __ Faça ligações para outros computadores com o novo Yahoo! Messenger http://br.beta

Re: Re: [Harbour] SF.net SVN: harbour-project:[11434] trunk/harbour

2009-06-20 Thread toni...@fwi
>>  * contrib\xhb\hblog.prg >>    * PROCEDURE Open() CLASS HB_Logger -> METHOD returning Self >>    * PROCEDURE Close() CLASS HB_Logger -> METHOD returning Self >>    * PROCEDURE Log( cMessage, nPriority ) CLASS HB_Logger -> METHOD >> returning Self >>    * PROCEDURE Log( nStyle, cMessage, cName,

Re: Re: Re: [Harbour] SF.net SVN: harbour-project:[11434] trunk/harbour

2009-06-21 Thread toni...@fwi
Hi Viktor >This is good, but in this case IMO METHOD declaration and >definition should use some sort of consistent syntax. > >Declaring as METHOD and implementing as PROCEDURE is >very sloppy. I 100% agree with you but IIRC this problem was discussed in past. I don't remember why we choice for M

Re: Re: Re: Re: [Harbour] SF.net SVN: harbour-project:[11434] trunk/harbour

2009-06-22 Thread toni...@fwi
>--- test.prg >#include "hbclass.ch" > >PROCEDURE MAIN() > Hello():Test( "hello world" ) > RETURN > >CREATE CLASS Hello > METHOD Test( c ) >END CLASS > >METHOD PROCEDURE Test( c ) CLASS Hello > ? c > RETURN >--- Thanks Viktor. Regards, Toninho. ___

Re: Re: [Harbour] Samples FWH not working with 11478

2009-06-22 Thread toni...@fwi
>It's difficult to guess without knowing the code actually causing >the error, but my guess would be that FWH needs to be updated >and rebuilt after our hb_par*() / hb_stor*() API changes. Hi Viktor. I compiled entire FWH sources and I confirm that hb_par*() / hb_stor*() API changes is the proble

Re: Re: [Harbour] SF.net SVN: harbour-project:[11434] trunk/harbour

2009-06-23 Thread toni...@fwi
>Based on this email thread, I will change these modules to 'method >procedure' Hi April. Thanks a lot. Regards, Toninho. __ Faça ligações para outros computadores com o novo Yahoo! Messenger http://br.beta.messenger.yahoo.com/ _

Re: [Harbour] 2.0.0rc1 process start

2009-06-24 Thread toni...@fwi
>All developers are appreciated to make local builds on all >platforms / compilers and report any testing results to the list >with current SVN. Hi Viktor. IMO we need a time for tests because some 3rd party libs are not binary compatible and recompile it need time. I for example, use FWH and I

Re: Re: [Harbour] 2.0.0rc1 process start

2009-06-24 Thread toni...@fwi
Hi Viktor, >[ BTW, for 3rd parties it's now a good opportunity to check >their code with 'set HB_USER_CFLAGS=-DHB_LEGACY_OFF' to see if >there is anything else that could be done to source code. ] I´m using it in FWH for a long time without problem. >Although, since we're aren't compatible anyw

Re: Re: [Harbour] Przemek as Project Admin

2009-07-23 Thread toni...@fwi
>I agree with every words said, couldn't have said it better. > >Huge thanks from me too, even for the times before Harbour (The Oasis, >c.l.c). Good times that Thanks a lot Phil. Toninho. __ Faça ligações para outros computadores com o novo

[Harbour] 2008-09-22 14:34 UTC-0300 Antonio Carlos Pantaglione

2008-09-22 Thread toni...@fwi
2008-09-22 14:34 UTC-0300 Antonio Carlos Pantaglione <[EMAIL PROTECTED]> % source/rtl/dbedit.prg % source/rtl/dirscan.prg % source/rtl/errorsys.prg % source/rtl/hbini.prg % source/rtl/listbox.prg % source/rtl/objfunc.prg % source/rtl/tbrowse.prg % source/rtl/tclass.prg % source/rt

Re: [Harbour] 2008-12-18 05:02 UTC+0200 Mindaugas Kavaliauskas

2008-12-20 Thread toni...@fwi
> + added recursive pcode tree tracer. It is capable to generate new > warning: Variable %s is assigned, but not used. Hi Mindaugas, I have a question please: In contrib\hbct\getinput.prg, we have: LOCAL GetList := {} And I receive a warning Variable 'GETLIST is assigned, but not use

Re: Re: [Harbour] 2008-12-18 05:02 UTC+0200 Mindaugas Kavaliauskas

2008-12-20 Thread toni...@fwi
Hi ppl This was fixed, thanks, and now, mailing is working fine and faster, thanks, Regards, Toninho. __ Faça ligações para outros computadores com o novo Yahoo! Messenger http://br.beta.messenger.yahoo.com/ ___

Re: [Harbour] 2009-01-12 15:15 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2009-01-12 Thread toni...@fwi
>2009-01-12 15:15 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) > * harbour/source/vm/fm.c > * harbour/include/hbwmain.c >* use HeapAlloc( GetProcessHeap(), ... ) instead of LocalAlloc() > when HB_FM_WIN32_ALLOC macro is set - Toninho's tests show that > it's a little bit mor

Re: Re: [Harbour] Viktor - where are you

2009-01-13 Thread toni...@fwi
>Happy New Year to you all, Same for you, glad to see you again, regards, Toninho. ___ Yahoo! Mail - Sempre a melhor opção para você! Experimente já e veja as novidades. http://br.yahoo.com/mailbeta/tudonovo/ _

Re: [Harbour] 2009-01-16 00:13 UTC+0100 Francesco Saverio Giudice (info/at/fsgiudice.com)

2009-01-15 Thread toni...@fwi
> * harbour/source/rdd/usrrdd/rdds/logrdd.prg Hi Francesco, thanks for this implementation, really useful. Please tell me if it works with ADSRDD, Regards, Toninho. __ Faça ligações para outros computadores com o novo Yahoo! Messenger http://br

Re: [Harbour] 2009-01-15 20:52 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2009-01-15 Thread toni...@fwi
> * harbour/source/vm/fm.c >% keep process heap address in static variable when HeapAlloc() > is used. Hi Przemek, a little bit faster here, Thanks and best regards, Toninho. ___ Yahoo! Mail - Sempre a melhor opção para você! Exper

Re: Re: [Harbour] Automatic SVN commit mails

2009-01-16 Thread toni...@fwi
>I think yes. +1, Regards, Toninho. ___ Yahoo! Mail - Sempre a melhor opção para você! Experimente já e veja as novidades. http://br.yahoo.com/mailbeta/tudonovo/ ___ Harbour mailing list Harbour@ha

Re: [Harbour] Stripping accents from a string.

2009-01-30 Thread toni...@fwi
>This functionality is missing from Harbour, yet it would be best integrated >to the codepage subsystem. But before I do anything, I'd like to discuss it >here. Viktor, This is a nice feature for languages like portuguese for example. I have my own func that do this, but integrate it in HB_CODEPA

Re: Re: [Harbour] A Bunch of Thanks

2009-02-02 Thread toni...@fwi
>> My congratulations. >> >+1 +2, Toninho. __ Faça ligações para outros computadores com o novo Yahoo! Messenger http://br.beta.messenger.yahoo.com/ ___ Harbour mailing list Harbour@harbour-project.org h

Re: [Harbour] Make system configuration envvar changes

2009-02-05 Thread toni...@fwi
>HB_USER_LIBS -> HB_USR_LIBLIST >PRG_USR -> HB_USR_PRG >C_USR-> HB_USR_C >L_USR-> HB_USR_L (or HB_USR_LINK ?) >A_USR-> HB_USR_A (or HB_USR_LIB ?) >MK_USR -> HB_USR_MK (or HB_USR_MAKE/MAK ?) Hi Viktor. Looking at the user side, HB_USR_LINK is easy to understand

[Harbour] Windows unfreed resources

2009-02-06 Thread toni...@fwi
Hi ppl. I´m testing my application with MemProof and I have a lot of unfreed resources like VirtualAlloc, that need be freed with VirtualFree and GetStdHandle that is freed with CloseHandle. I´m looking at harbour sources and I see that VirtualAlloc is *only* used by dlmalloc.c and GetStdHandle i

Re: [Harbour] Windows unfreed resources

2009-02-07 Thread toni...@fwi
>used by dlmalloc.c... I tested without dlmalloc and the same issue appear. Regards, Toninho. __ Faça ligações para outros computadores com o novo Yahoo! Messenger http://br.beta.messenger.yahoo.com/ ___

Re: [Harbour] 1.1 pending items

2009-02-10 Thread toni...@fwi
>Hi everyone, >Who has what pending items (fixes, new development, TODOs) >before the 1.1 release? Hi Viktor, I have a lot of windows unfreed resources here. I don´t know if this is a problem that need be fixed before the 1.1 release, or if this issue is a real problem, but it exist. this is my p

Re: Re: [Harbour] 1.1 pending items

2009-02-10 Thread toni...@fwi
>Hi Toninho, >Yes, I've seen it. Even installed the tool. > >I just can guess that dlmalloc won't explictly deal with >releasing its whole pool (which may include preallocated >areas) while the app is running, and instead leaves that >for the OS when quitting the app. Maybe similar is happening >wi

[Harbour] Problem in Hashes with latest SVN

2009-02-10 Thread toni...@fwi
Hi, After latest SVN changes hashes can´t be assigned with ":", same compiling Harbour with -DHB_HASH_MSG_ITEMS. SET C_USR=-DHB_GUI -DHB_FM_STATISTICS_OFF -DHB_NO_PROFILER -DADS_LIB_VERSION=700 -DHB_HASH_MSG_ITEMS -DHB_NO_DEBUG -DHB_LEGACY_OFF Thanks and best regards, Toninho. ___

Re: Re: [Harbour] Problem in Hashes with latest SVN

2009-02-10 Thread toni...@fwi
>Pls read this entry (and preceding e-mails on the list):2009-02-06 23:47 >UTC+0100 Viktor Szakats Hi Viktor, Thanks again. I completely forgot that change :( Best regards, Toninho. __ Faça ligações para outros computadores com o novo Yahoo! Mes

Re: Re: [Harbour] Date-Time Functions - Revisited (II)

2009-02-12 Thread toni...@fwi
>We also have to define relation operators behavior: ==, =, <, >, <=, >= >when DATE and TIMESTAMP are used. >We have the following choices: >1. compare only date part ignoring the time with the exception for == > operator which will make exact comparison. For this exact comparision > we also ha

Re: [Harbour] SF.net SVN: harbour-project:[10256] trunk/harbour

2009-02-13 Thread toni...@fwi
>2009-02-13 16:03 UTC+0100 Viktor Szakats (harbour.01 syenar hu) > * bin/hbmk.bat >+ Added autodetection of Harbour dirs. So this batch will > now work when called from any directories Very nice feature Viktor, thank you. Regards, Toninho. _

Re: Re: [Harbour] Website layout updated!

2009-02-16 Thread toni...@fwi
Hi Vailton, Congrats. Each time better. >> So I propose to make a simple table list that contains: >> Name - Nation - eMail - Photo - Comments >> ordered by name as in hbusage.c >> >> Viktor, all ? +1 Regards, Toninho. ___ Yahoo! Mail -

Re: [Harbour] Native and ADS DBF BLOB size

2009-02-16 Thread toni...@fwi
Hi, >What is the maximum size of a blob field in ADS For ADS ADT Table is 4 GB for Memo, Image and Binary field data. For ASS DBF Table, Memo support 4 GB too. >And the maximum size of the database file on disk? No maximum - limited by disk space only. Indexes files have limitations but is very

Re: Re: [Harbour] Native and ADS DBF BLOB size

2009-02-16 Thread toni...@fwi
>> >What is the maximum size of a blob field in ADS >> For ADS ADT Table is 4 GB for Memo, Image and Binary field data. >> For ASS DBF Table, Memo support 4 GB too. > >It's not true. Number of memo blocks is limited. Hi Przemek, thanks for the hint. I read it in ADS 9.0 docs. Regards, Toninho.

Re: [Harbour] dmalloc.c - VirtualAlloc() - Unfreed

2009-02-16 Thread toni...@fwi
Hi Pritpal, Please, see my last post about it in "[Harbour] 1.1 pending items" BTW, I see that, for less with FWH, if I compile with -gc0 I have more unfreed resources than compiling with -gc3. Strange no? Regards, Toninho. __ Faça ligações para

Re: Re: [Harbour] Dlmalloc.c - VirtualAlloc/Free - Test Results

2009-02-23 Thread toni...@fwi
>So please check what happens when you compile Harbour using >-DHB_FM_WIN_ALLOC Hi Przemek, I´m using native BCC 6.10 MM and the same problem exist. I can see that in BCC I have less unfreed resources, but it exist. Regards, Toninho. ___ Ya

Re: Re: [Harbour] -DHB_FM_WIN_ALLOC - VirtualAlloc/Free - Test Results

2009-02-24 Thread toni...@fwi
>But I'm interesting why Toninho didn't confirm your results. >Is it newer BCC problem or wrongly created Harbour binaries >or test application. Hi Przemek, A simple test: ---cut--- procedure main() ? "hello word" return ---cut--- produces: ---cut--- 1 File 001

Re: Re: [Harbour] -DHB_FM_WIN_ALLOC - VirtualAlloc/Free - Test Results

2009-02-24 Thread toni...@fwi
Hi Przemek, I recompile my local Harbour to use -DHB_FM_WIN_ALLOC and the result are the same as using -DHB_FM_STD_ALLOC in my previous mail. Thank you. Regards, Toninho. __ Faça ligações para outros computadores com o novo Yahoo! Messenger http:

Re: Re: [Harbour] -DHB_FM_WIN_ALLOC - VirtualAlloc/Free - Test Results

2009-02-24 Thread toni...@fwi
Hi Przemek, Thanks for answer. >So why Pritpal has different results? >Can you agree them ;-) I agree of course and I don't know, but I compiled harbour with DL_ALLOC and the results change in VirtualAlloc, but the rest are the same. Why CreateFile, GetStdHandle and InitializeCriticalSection rema

Re: Re: [Harbour] -DHB_FM_WIN_ALLOC - VirtualAlloc/Free - Test Results

2009-02-24 Thread toni...@fwi
Hi Przemek, >Because it's part of CRTL. >C compiler still have to allocate the console so ask borland >why it does not deallocate it. Thanks, now I understand. >And what are the results for above code if you compile it using hbmk2? The same, of course the problem is with BCC 6.10 Thank you to ex

Re: Re: [Harbour] -DHB_FM_WIN_ALLOC - VirtualAlloc/Free - Test Results

2009-02-25 Thread toni...@fwi
>xHarbour does not enable DLMALLOC with the same conditions as >Harbour and it's the reason of difference. I guess you are using >__EXPORT__ macro which effectively disables DLMALLOC in xHarbour. > >BTW if you can test the above code with BCC6.1 to confirm the results >then it will really help.

Re: [Harbour] Override / Extend functions

2009-02-27 Thread toni...@fwi
>My name is Kleyber Hi Kleyber, Glad to see you here. Toninho. ___ Yahoo! Mail - Sempre a melhor opção para você! Experimente já e veja as novidades. http://br.yahoo.com/mailbeta/tudonovo/ __

Re: [Harbour] A Note of Appreciation - Welldone Viktor !

2009-02-28 Thread toni...@fwi
>Viktor, you have accomplished a mission impossible! > >Please accept my deep appreciation for it. Mine too, regards, Toninho. __ Faça ligações para outros computadores com o novo Yahoo! Messenger http://br.beta.messenger.yahoo.com/ __

Re: [Harbour] SF.net SVN: harbour-project:[10508] trunk/harbour

2009-03-02 Thread toni...@fwi
>+ added support for automatic adding 1-st function with the same name > as compiled .prg file if some code statements are used before 1-st > function/procedure declared explicitly in .prg file. Such mode can > be enabled by -n2 new harbour compiler switch. Hi Przemek, Sorry fo

Re: Re: [Harbour] SF.net SVN: harbour-project:[10508] trunk/harbour

2009-03-03 Thread toni...@fwi
Hi Przemek, >Do you know what -n switch does in Clipper and harbour? Yes, I use it, I´m only confused about -n2. Thank you for this great explanation. Regards, Toninho. ___ Yahoo! Mail - Sempre a melhor opção para você! Experimente já e vej

Re: [Harbour] Harbour+FWH

2009-03-04 Thread toni...@fwi
>Have some of you tested Harbour+MSVC+FWH? I saw here a little problem: When >I use the mouse wheel, the program freezes. Testing with xHarbour this >problem does not appears... Hi Kleyber, My FWH is working just fine but with BCC. Can you test with bcc to see if the same issue appear please ?

Re: [Harbour] Compiling C sources

2009-03-05 Thread toni...@fwi
> I am trying to migrate my own libs to Harbour+msvc, but in some cases, I > have some C sources which show me some errors in compilation time. > Any of you have made some migration of libs created in xharbour+bcc+fwh to > harbour+msvc+fwh and can show me way? Hi Kleyber, You are trying to do