Re: [Harbour] Date-Time Functions - Revisited

2009-01-31 Thread Viktor Szakáts
Hi Pritpal, The libharu object is one example in hbhpdf, or SSL_CONTEXT in hbssl/sslctx.c from line 80 to line 140 (except hb_ssl_method_id_to_ptr() which is unrelated). There are many other uses, but these are two quite pure ones. Or here is a file find API (where the object is HB_FFIND), which

Re: [Harbour] Making a Hello World! with gtwvg contrib

2009-01-31 Thread Guillermo Varona Silupú
Pritpal Bedi escribió: . . . Try harbour/tests/wvtext.prg and compile it with -d__GTWVG__ and link with GTWVG.lib. It is a pure console application and works as is with GTWVG. Ok. Thanks Pritpal. In principle, I just need my console application looks like an MS Windows, my example is thus:

Re: [Harbour] Date-Time Functions - Revisited

2009-01-31 Thread Pritpal Bedi
Viktor Viktor Szakáts wrote: > > Create a custom C level object, with constructor and destructor > (hb_retptrGC()/hb_parptrGC()), and > some support functions to > retrieve the values on .prg level, and you're pretty much done. > > May be I am not so gifted a developer. Any example or hints?

Re: [Harbour] Date-Time Functions - Revisited

2009-01-31 Thread Viktor Szakáts
Create a custom C level object, with constructor and destructor (hb_retptrGC()/hb_parptrGC()), and some support functions to retrieve the values on .prg level, and you're pretty much done. Brgds, Viktor On Sat, Jan 31, 2009 at 9:26 PM, Pritpal Bedi wrote: > > Hello Everybody > > I am struck with

[Harbour] Date-Time Functions - Revisited

2009-01-31 Thread Pritpal Bedi
Hello Everybody I am struck with one of the Active-X's ( Codejock's Calendar Control ). Reason: it accepts and returns all events as a date field but in DateTime format. It means it contains fractions in the value of type date. In xHarbour I can retrieve and send both values with its extended d

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

2009-01-31 Thread vszakats
Revision: 10141 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=10141&view=rev Author: vszakats Date: 2009-01-31 19:44:03 + (Sat, 31 Jan 2009) Log Message: --- 2009-01-31 20:43 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/gtwvg/tests/demox

Re: [Harbour] Making a Hello World! with gtwvg contrib

2009-01-31 Thread Viktor Szakáts
I've tried to build recent WVG demos using MSVC 2005, and after adding the latest SDK (6.0a) to the paths (this is a new requirement, and is caused by to new API calls used) the two demos have built successfully, but both GPFs in win_AppendMenu: --- Application Internal Error - C:\work\harbour-new

Re: [Harbour] Making a Hello World! with gtwvg contrib

2009-01-31 Thread Pritpal Bedi
GVS Guillermo Varona wrote: > > Hi > I'm trying to use this small PRG gtwvg: > > PROCEDURE Main() > Wvt_SetGui( .t. ) > @ 10,10 SAY "Hola Mundo" > RETURN > > Try harbour/tests/wvtext.prg and compile it with -d__GTWVG__ and link with GTWVG.lib. It is a pure console application and works as

[Harbour] Making a Hello World! with gtwvg contrib

2009-01-31 Thread Guillermo Varona Silupú
Hi I'm trying to use this small PRG gtwvg: PROCEDURE Main() Wvt_SetGui( .t. ) @ 10,10 SAY "Hola Mundo" RETURN Generates EXE, and run and get a GPF in the console as follows: Unrecoverable error 6005: Exception error: Exception Code:C005 Exception Address:0040D99A EAX: EBX: E

Re: [Harbour] building on opensolaris

2009-01-31 Thread Lorenzo Fiorini
On Sat, Jan 31, 2009 at 2:56 PM, maurilio longo wrote: > PS. What is the 'best' place to install on a unix system? I've chosen to > install inside /opt/harbour/bin,lib,include, but I'm not completely sure it > is the 'best practice'. I use the same place :) I don't know if it is the "best" pl

Re: [Harbour] building on opensolaris

2009-01-31 Thread Viktor Szakáts
It's a known problem. OpenSolaris needs some different (from Linux) ways to build the shared libraries. Brgds, Viktor On Sat, Jan 31, 2009 at 2:56 PM, maurilio longo wrote: > Hi, > > with a couple of very minor changes harbour builds ok on opensolaris > 2008.11, but when I try to install it I get

Re: [Harbour] Compilation error

2009-01-31 Thread Viktor Szakáts
Yes, it's a known name collision problem. We should clean Harbour from all these common type names (LONG, ULONG, BOOL, UINT, INT, SCHAR, UCHAR, BYTE, SHORT, USHORT, LONGLONG, ULONGLONG) which external packages might use with slightly different meaning. I'm not sure what's the best practice to foll

[Harbour] Compilation error

2009-01-31 Thread Guy Roussin
Hello, Today i get this error compiling harbour on debian sid (x86) : $ svn co https://harbour-project.svn.sourceforge.net/svnroot/harbour-project/trunk/harbour harbour $ cd harbour $ fakeroot sh mpkg_deb.sh [...] make[3]: entrant dans le répertoire « /usr/local/src/harbour/contrib/hbfimag

[Harbour] building on opensolaris

2009-01-31 Thread maurilio longo
Hi, with a couple of very minor changes harbour builds ok on opensolaris 2008.11, but when I try to install it I get these errors: fclose 0x284 ./libhbrtl.a/errorint.o fclose 0xf90 ./libhbrtl.a/gtchrmap.o fclose

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

2009-01-31 Thread vszakats
Revision: 10140 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=10140&view=rev Author: vszakats Date: 2009-01-31 11:36:43 + (Sat, 31 Jan 2009) Log Message: --- 2009-01-31 12:35 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * utils/hbrun/hbrun.prg

Re: [Harbour] A Bunch of Thanks

2009-01-31 Thread ABIX Adam Jurkiewicz
Pritpal Bedi pisze: > > I invite all developers who contributed to this project just to > say a "Hello" on this thread so that we all could feel your > affection to the language called CLIPPER in good old days. > > Just to say hello, I'm developing some application form my clients using harbour i

[Harbour] New sf.net hosted apps enabled

2009-01-31 Thread Viktor Szakáts
Hi folks, I've enabled two hosted app on sf.net: trac - http://apps.sourceforge.net/trac/harbour-project/ This has a good ticket tracking method, a built-in wiki, source browser and very nice event/change tracker here (integrated with our SVN database): http://apps.sourceforge.net/trac/harbour

Re: [Harbour] A Bunch of Thanks

2009-01-31 Thread Lorenzo Fiorini
On Sat, Jan 31, 2009 at 1:30 AM, Pritpal Bedi wrote: > I invite all developers who contributed to this project just to > say a "Hello" on this thread so that we all could feel your > affection to the language called CLIPPER in good old days. Well done Pritpal. I also plan to release a new versi

Re: [Harbour] A Bunch of Thanks

2009-01-31 Thread Massimo Belgrano
Hello,Hello,Hello,Hello,Hello,Hello,Hello,Hello! I invite everybody join to facebook harbour project group http://www.facebook.com/group.php?gid=48795263775&ref=ts Use harbour people from alla world In harbour project on facebbok are joined people from Poland, egypt,argentina,belgium,venezuela,i

Re: [Harbour] A Bunch of Thanks

2009-01-31 Thread Viktor Szakáts
Hi all, Similar success story here, I've made the final transition to Harbour last autumn and it was so successful that I could drop Clipper completely, in last months I was focusing on "optimizing" for Harbour, utilizing its features. Now using hbmzip, hbtip, hbct, hbhpdf, hbcurl and some more. Si