Re: [Harbour] 2008-10-28 12:53 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-10-29 Thread Szakáts Viktor
Hi Budyanto, On 2008.10.29., at 4:21, Budyanto Dj. wrote: Hi Viktor, On 28 Oct 2008 at 21:27, Szakáts Viktor wrote: But why do you need to add all these non console related stuff to GTWVT?? I think Pritpal is trying to get into the scheme of "inherits from GTWVT to avoid duplicated code".

[Harbour] How to get statistics

2008-10-29 Thread Jose Luis Capel
Hi, Which is the suiteable switch for get memory statistics? What I want to get is the amount of memory used by Harbour (stack, statics, items, etc), number of 'living' items, number of unrealeased items (if it is possible to know) at execution time. Thanks and regards, José Luis CApel __

[Harbour] Re: Harbour under OS/2

2008-10-29 Thread David Arturo Macias Corona
[Maurilio] >I don't know, but GCC 4.3.2 from Paul is an alpha release, I'd wait for >a more stabilized environment. I tested gcc346, gcc404 and previous gcc432 and all were allmost unusable for Harbour Current gcc432 does things not so bad except for main error ld/emxbind Both gcc335 and gcc4

[Harbour] problems generating demowvg

2008-10-29 Thread Ciro Vargas Clemow
Hi all: i'm try to test demowvg from last svn and obtain this C:\harbour\harbour\contrib\gtwvg\tests>bld_b32 demowvg demowvg.c: Error: Unresolved external '_hb_ToOutDebug' referenced from C:\HARBOUR\HARB IB\B32\GTWVG.LIB|gtwvg Error: Unresolved external '_HB_FUN_HB_TOOUTDEBUG' referenced fr

Re: [Harbour] problems generating demowvg

2008-10-29 Thread Pritpal Bedi
Add hbdbgfx.lib in your link script. OR Comment out calls to this funtion in demowvg.prg. Ciro Vargas Clemow wrote: > > C:\harbour\harbour\contrib\gtwvg\tests>bld_b32 demowvg > demowvg.c: > Error: Unresolved external '_hb_ToOutDebug' referenced from > C:\HARBOUR\HARB > IB\B32\GTWVG.LIB|gtwvg >

[Harbour] 2008-10-29 08:10 UTC-0800 Pritpal Bedi ([EMAIL PROTECTED])

2008-10-29 Thread Pritpal Bedi
2008-10-29 08:10 UTC-0800 Pritpal Bedi ([EMAIL PROTECTED]) * harbour/contrib/gtwvg/tests/demowvg.prg ! Cleaned debug call left by mistake. Regards Pritpal Bedi -- View this message in context: http://www.nabble.com/2008-10-29-08%3A10-UTC-0800-Pritpal-Bedi-%28pritpal%40vouchcac.com%29-tp20

Re: [Harbour] problems generating demowvg

2008-10-29 Thread Pritpal Bedi
Ciro Ciro Vargas Clemow wrote: > > C:\harbour\harbour\contrib\gtwvg\tests>bld_b32 demowvg > demowvg.c: > Error: Unresolved external '_hb_ToOutDebug' referenced from > C:\HARBOUR\HARB > IB\B32\GTWVG.LIB|gtwvg > Error: Unresolved external '_HB_FUN_HB_TOOUTDEBUG' referenced from > C:\HARBO > RBOUR

Re: [Harbour] problems generating demowvg

2008-10-29 Thread Ciro Vargas Clemow
Pritpal Bedi escribió: Ciro Thanks Pritpall best regards Ciro Ciro Vargas Clemow wrote: C:\harbour\harbour\contrib\gtwvg\tests>bld_b32 demowvg demowvg.c: Error: Unresolved external '_hb_ToOutDebug' referenced from C:\HARBOUR\HARB IB\B32\GTWVG.LIB|gtwvg Error: Unresolved external '_HB_FUN_

[Harbour] How to retrieve - from PRG to C

2008-10-29 Thread Pritpal Bedi
Hello All How I can retrieve pGT in c code sent via prg code. Local pGT, pGT1 pGT := hb_gtCreate( 'WVG' ) pGT1 := hb_gtSelect( pGT ) hb_gtInfo( HB_GTI_PGT, pGT1 ) IN GT INFO METHOD { PHB_GT pGT = hb_itemGetPtr( pInfo->pNewVal ); // I do not receive pGT pointer. What I am missing ? }

Re: [Harbour] 2008-10-28 12:53 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-10-29 Thread Przemyslaw Czerpak
On Wed, 29 Oct 2008, Szak�ts Viktor wrote: Hi Viktor and Pritpal, >> I think Pritpal is trying to get into the scheme of "inherits from GTWVT >> to avoid duplicated code". > IMO this way it's done the wrong way. > For one, GTWVG has - from the beginning - > lots of duplicated GTWVT code, which i

[Harbour] 2008-10-29 17:06 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-10-29 Thread Przemyslaw Czerpak
2008-10-29 17:06 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcompdf.h * harbour/include/hbexprb.c * harbour/source/common/expropt1.c * harbour/source/common/expropt2.c ! change the expressions precedence - references to variables were wrongly marked as

[Harbour] MT extensions

2008-10-29 Thread Przemyslaw Czerpak
Hi All, I will want to introduce two extensions for MT mode. 1. allow to use hb_mutexCreate() as static variable initialization. It should help in writing MT code which have to use mutexes from program startup and there is a problem with initializing them. I added hb_threadOnce() functio

Re: [Harbour] 2008-10-28 12:53 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-10-29 Thread Budyanto Dj.
Hi Viktor, Thanks for your explanation. There're still some things to clarify, if you don't mind. On 29 Oct 2008 at 7:50, Szakáts Viktor wrote: > >> You're again and again trying to add Windows > >> specific features to GTWVT, but such things > >> simply don't belong there. GTWVT is a console >

Re: [Harbour] How to retrieve - from PRG to C

2008-10-29 Thread Przemyslaw Czerpak
On Wed, 29 Oct 2008, Pritpal Bedi wrote: Hi Pritpal, > How I can retrieve pGT in c code sent via prg code. > Local pGT, pGT1 > pGT := hb_gtCreate( 'WVG' ) > pGT1 := hb_gtSelect( pGT ) > hb_gtInfo( HB_GTI_PGT, pGT1 ) > IN GT INFO METHOD > { >PHB_GT pGT = hb_itemGetPtr( pInfo->pNewVal ); >

[Harbour] 2008-10-29 18:33 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-10-29 Thread Przemyslaw Czerpak
2008-10-29 18:33 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbgtcore.h * harbour/source/rtl/hbgtcore.c + added PHB_GT hb_gt_ItemBase( PHB_ITEM pItemGT ) best regards Przemek ___ Harbour mailing list Harbour@harbour-pro

Re: [Harbour] 2008-10-28 12:53 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-10-29 Thread Budyanto Dj.
After sending the following message I read Przemek's explanation which answers all my questions. Sorry for the noise... regards, budyanto On 29 Oct 2008 at 23:43, "Harbour Project Main Develop wrote: > Hi Viktor, > > Thanks for your explanation. There're still some things to clarify, if you >

Re: [Harbour] MT extensions

2008-10-29 Thread Pritpal Bedi
Hello Przemek Przemyslaw Czerpak-2 wrote: > > I will want to introduce two extensions for MT mode. > > 1. allow to use hb_mutexCreate() as static variable initialization. > >If we unblock using hb_mutexCreate() as static variable initializer >(now we can use only fully optimized funct

[Harbour] 2008-10-29 12:46 UTC-0800 Pritpal Bedi ([EMAIL PROTECTED])

2008-10-29 Thread Pritpal Bedi
2008-10-29 12:46 UTC-0800 Pritpal Bedi ([EMAIL PROTECTED]) * harbour/contrib/gtwvg/gtwvg.c ! Cleaned debug call left by mistake. Regards Pritpal Bedi -- View this message in context: http://www.nabble.com/2008-10-29-12%3A46-UTC-0800-Pritpal-Bedi-%28pritpal%40vouchcac.com%29-tp20234420p202

Re: [Harbour] 2008-10-29 18:33 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-10-29 Thread Pritpal Bedi
Thanks Przemek Przemyslaw Czerpak-2 wrote: > > 2008-10-29 18:33 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) > * harbour/include/hbgtcore.h > * harbour/source/rtl/hbgtcore.c > + added PHB_GT hb_gt_ItemBase( PHB_ITEM pItemGT ) > Now I will be able to retieve pGT at C level. Re

Re: [Harbour] MT extensions

2008-10-29 Thread Przemyslaw Czerpak
On Wed, 29 Oct 2008, Pritpal Bedi wrote: Hi Pritpal, > CRITICAL PROC p() is the easiest way. It depends on context. There are situations where it cannot be used as mutex replacement - you will end with mutex simulation using critical function and conditional variable. > Can it be implemented in

Re: [Harbour] 2008-10-28 12:53 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-10-29 Thread Pritpal Bedi
Hello Przemek <<< And Pritpal wants to remove it and simply inherit from GTWVT. IMHO it's good idea. >>> Exactly. GTWVG is 100%GTWVT + Redirecting few more messages and extending the structure a little bit. GUI calls and elements are totally independant from core GTWVG. So instead of updating G

[Harbour] wince

2008-10-29 Thread Abeb
i compiled wcedemo. when i try to run in on a PocketPc nothing happens. no error, no window opens. Please help. i very eager to unitize Harbour under PocketPC Thanks All of You, Abe -- View this message in context: http://www.nabble.com/wince-tp20236568p20236568.html Sent from the Harbour - D

Re: [Harbour] wince

2008-10-29 Thread Przemyslaw Czerpak
On Wed, 29 Oct 2008, Abeb wrote: > i compiled wcedemo. > when i try to run in on a PocketPc nothing happens. no error, no window > opens. > Please help. i very eager to unitize Harbour under PocketPC How did you compile Harbour for WinCE? Used platform, C compiler and build scripts. best regards,

[Harbour] 2008-10-30 00:10 UTC+0200 Viktor Szakats (harbour.01 syenar hu)

2008-10-29 Thread Szakáts Viktor
2008-10-30 00:10 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * ChangeLog + Clarification to previous entry. * source/common/hbgete.c * source/common/hbfsapi.c ! Blind fix for OS/2 compiler warnings. David, please test. * source/rtl/philes.c * Minor (0 -> '\0'). * source/

Re: [Harbour] 2008-10-28 12:53 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-10-29 Thread Przemyslaw Czerpak
On Wed, 29 Oct 2008, Pritpal Bedi wrote: Hi Pritpal, > You never have to look back which GT you are using. You have a feature or > not can be > controlled via a single define. I used this mechanism when working with > Xbase++ and Clipper > with same sources. Conditional compilation does not re

Re: [Harbour] 2008-10-28 12:53 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-10-29 Thread Pritpal Bedi
Przemek <<< Conditional compilation does not resolve all problems and in some situation it may not be enough. We should always try to reduce and differences when possible. >>> ok. <<< >HB_GTI_WINDOWSTYLE >HB_GTI_WINDOWEXSTYLE Why do you need both? I know CreateWindowEx() parameters but

[Harbour] 2008-10-29 19:06 UTC-0800 Pritpal Bedi ([EMAIL PROTECTED])

2008-10-29 Thread Pritpal Bedi
2008-10-29 19:06 UTC-0800 Pritpal Bedi ([EMAIL PROTECTED]) * harbour/contrib/gtwvg/gtwvg.c * harbour/contrib/gtwvg/gtwvg.h * harbour/contrib/gtwvg/hbgtwvg.ch + Added the possibility to have transparency on Window. Work-in-progress ! Rearranged .H structure for future seggregations in

Re: [Harbour] 2008-10-28 12:53 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-10-29 Thread Budyanto Dj.
Hi Pritpal, Przemek, > I guess you want to create nested windows and you need parent window > handle. Fine but what protection do you plan to make against destroying > parent window with subwindow active? Can you define some expected > behavior for such situation? What is real MS-window behavior i