Re: [Harbour] Re: hbIDE - http://hbide.vouch.info/ - Needed your Reviews

2010-05-19 Thread Antonio Maniero
> > > > Then it is a serious bug in hbIDE. > > How do you activate hbIDE ? > > Check if you can find "Projects Functions List" populated > at startup after ( once ) tagging few projects ? > > Show us hbIDE.ini responsible to load projects. > > > I will try but for now I can't run HbIDE. Do you have

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

2010-05-19 Thread vouchcac
Revision: 14532 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14532&view=rev Author: vouchcac Date: 2010-05-20 03:48:53 + (Thu, 20 May 2010) Log Message: --- 2010-05-19 20:45 UTC-0800 Pritpal Bedi (prit...@vouchcac.com) * contrib/hbide/ideprojmanage

[Harbour] Re: Return of hb_LibLoad()

2010-05-19 Thread Itamar Lins
Em 19/05/2010 20:00, Przemysław Czerpak escreveu: I have no idea what and where you have tested but for sure the results you presented are only your personal imagination not real test results. Please be more precise if you expect that someone will invest time to verify such messages. Hi! Is cor

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

2010-05-19 Thread vouchcac
Revision: 14531 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14531&view=rev Author: vouchcac Date: 2010-05-20 02:12:51 + (Thu, 20 May 2010) Log Message: --- 2010-05-19 19:11 UTC-0800 Pritpal Bedi (prit...@vouchcac.com) * contrib/hbqt/THbQtUI.prg

Re: [Harbour] Question about Curl detection during compile process

2010-05-19 Thread smu johnson
Hi again... I did what you said, and have noticed a strange piece of text from the Harbour build which seems a bit contractictory: # looks like a problem hbmk2: Warning: Source dynamic library not found: /ver10/curl-7.20.1-devel-mingw32/include/../libcurl.dll # looks like it worked? hbmk2: Create

Re: [Harbour] Question about Curl detection during compile process

2010-05-19 Thread smu johnson
Thanks Viktor! -- smu johnson ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

Re: [Harbour] Question about Curl detection during compile process

2010-05-19 Thread Viktor Szakáts
> Hopefully these questions aren't too n00b-like. > > 1) If hbcurl.hbc will set up everything for me, then does that mean > HB_WITH_CURL isn't necessary upon compiling? HB_WITH_CURL is necessary when building Harbour and/or when creating import libraries. Not needed when using hbcurl.hbc, sinc

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

2010-05-19 Thread vouchcac
Revision: 14530 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14530&view=rev Author: vouchcac Date: 2010-05-19 23:55:16 + (Wed, 19 May 2010) Log Message: --- 2010-05-19 16:41 UTC-0800 Pritpal Bedi (prit...@vouchcac.com) * contrib/hbqt/hbqt_hbqplaint

Re: [Harbour] Question about Curl detection during compile process

2010-05-19 Thread smu johnson
Well, I am stumped :/ Hopefully these questions aren't too n00b-like. 1) If hbcurl.hbc will set up everything for me, then does that mean HB_WITH_CURL isn't necessary upon compiling? 2) Do I need to modify hbcurl.hbc? If the answer to the above question is that I don't need to use HB_WITH_CURL (

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

2010-05-19 Thread druzus
Revision: 14529 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14529&view=rev Author: druzus Date: 2010-05-19 23:42:29 + (Wed, 19 May 2010) Log Message: --- 2010-05-20 01:42 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi

Re: [Harbour] Re: Return of hb_LibLoad()

2010-05-19 Thread Przemysław Czerpak
On Wed, 19 May 2010, Itamar Lins wrote: Itamar, > >Yes, the return is "U" undefined if not found file dll. > >And 0 if run ok. > >My tests is Win 7, with MingW, ChangeLog 14527 > Sorry my fault, return of valtype is 'N'. Value is 0. > Very busy for here... :( I still have no idea what you are te

Re: [Harbour] hb_atomic_* not exported

2010-05-19 Thread Przemysław Czerpak
On Wed, 19 May 2010, Szak�ts Viktor wrote: Hi Viktor, > I'm trying to create -shared Harbour app while > linking hbnetio, and hb_atomic_* functions are > missing from Harbour .dll so it fails. > Shouldn't they be declared 'extern HB_EXPORT'? > (now there is not qualifier before declaration) Ye

Re: [Harbour] DTR/DSR hardware handshake on linux

2010-05-19 Thread Przemysław Czerpak
On Wed, 19 May 2010, Bisz István wrote: Hi István, > Please find attached the hbcon.c patch allowing on some linux distroes the > DTR/DSR hardware handshake. > The DTR/DSR is a very often used handshake for serial printers, at least in > the POS field. A lot of supermarket cash registers are in f

Re: [Harbour] date comparison

2010-05-19 Thread Leandro Damasio - 2D Info
? "t1==t2",t1==t2 // shows .F. ? "t1==date()",t1==date() // shows .T. ? "t2==date()",t2==date() // shows .F. return Shouldn't the comparisons above all return .T.? No, it's correct behavior. Think about SET CENTURY. If you want reversible conversion independent from any setting,

Re: Re[Harbour] turn of hb_LibLoad()

2010-05-19 Thread Przemysław Czerpak
On Wed, 19 May 2010, Petr Chornyj wrote: Hi, > Yes, because rmchart.dll no p-code dll. You can use the function hb_libLoad > and Co only with p-code dll. It's not true. hb_libLoad() can and should be used to any type of libraries. It doesn't matter if they contain PCODE or not. The important ext

Re: [Harbour] Re: Return of hb_LibLoad()

2010-05-19 Thread Przemysław Czerpak
On Wed, 19 May 2010, Itamar Lins wrote: Hi Itamar, > >VALTYPE() can never return '0'. > >HB_LIBLOAD() will return empty value (NIL) on failure > >and pointer on success. > Yes, the return is "U" undefined if not found file dll. > And 0 if run ok. You used to ignore answers. Valtype cannot rerurn

Re: [Harbour] Question about Curl detection during compile process

2010-05-19 Thread Viktor Szakáts
> Questions: > > for 1) the contrib lib, do you mean hbcurl? Yes, it usually starts with "hb" ("hbsomething"), more generally speaking: it's always the same as the directory name inside contrib dir. > and 2) 3rd party lib, do you mean libcurl? In this case it is, yes. It's internal detail th

Re: [Harbour] date comparison

2010-05-19 Thread Viktor Szakáts
Hi, On 2010 May 19, at 23:59, Leandro Damasio - 2D Info wrote: > > <.code> > procedure main() > local t1:=date() > local t2:=ctod(dtoc(date())) > ? "t1",t1// current date > ? "t2",t2// current date > ? "t1=t2",t1=t2 // shows .F. > ? "t

Re: [Harbour] Question about Curl detection during compile process

2010-05-19 Thread smu johnson
Thanks for responding.. Questions: for 1) the contrib lib, do you mean hbcurl? and 2) 3rd party lib, do you mean libcurl? I have both those things, but this is probably not what you are referring to... From your response, it looks like implib is what I need, and I will try it out. Thank you O

Re: [Harbour] Question about Curl detection during compile process

2010-05-19 Thread Viktor Szakáts
Hi, This seems to became a FAQ. To link any contribs which depend on 3rd party libraries, you need two things: - the contrib lib ("hbsomething") - 3rd party lib or implib (mostly implib) If you use HB_BUILD_IMPLIB=yes and .hbc files, this is automatically arranged for you, if you don't, you ne

[Harbour] Re: Return of hb_LibLoad()

2010-05-19 Thread Itamar Lins
Em 19/05/2010 19:25, Itamar Lins escreveu: Em 19/05/2010 18:34, Viktor Szakáts escreveu: Function TestLoadLib Local hDll := hb_LibLoad("rmchart.dll") MsgInfo(ValType(hDll)) /* The return is 0 if run ok file "rmchart.dll" exist and 'U' if file does not exist. Is this correct? */ VALTYPE() can n

[Harbour] Re: Return of hb_LibLoad()

2010-05-19 Thread Itamar Lins
Em 19/05/2010 18:34, Viktor Szakáts escreveu: Function TestLoadLib Local hDll := hb_LibLoad("rmchart.dll") MsgInfo(ValType(hDll)) /* The return is 0 if run ok file "rmchart.dll" exist and 'U' if file does not exist. Is this correct? */ VALTYPE() can never return '0'. HB_LIBLOAD() will return

Re: [Harbour] Question about Curl detection during compile process

2010-05-19 Thread smu johnson
Hi again, I am having a problem... I can't figure out how to get HB_CURL to work! Steps I took: 1) unzipped libcurl devel zip 2) compiled harbour with HB_WITH_CURL= 3) made sure hbmk2 had -lhbcurl arg present for compiling hello world example 4) made sure these includes were present in HELLO

[Harbour] date comparison

2010-05-19 Thread Leandro Damasio - 2D Info
Hello Please look at the code below (harbour 2.1.0 rev 13756). <.code> procedure main() local t1:=date() local t2:=ctod(dtoc(date())) ? "t1",t1// current date ? "t2",t2// current date ? "t1=t2",t1=t2 // shows .F. ? "t1=date()",t1=date(

Re: [Harbour] Return of hb_LibLoad()

2010-05-19 Thread Viktor Szakáts
> Function TestLoadLib > Local hDll := hb_LibLoad("rmchart.dll") > MsgInfo(ValType(hDll)) > /* > The return is 0 if run ok file "rmchart.dll" exist and 'U' if file does not > exist. > Is this correct? > */ VALTYPE() can never return '0'. HB_LIBLOAD() will return empty value (NIL) on failure and

Re: [Harbour] Re: Return of hb_LibLoad()

2010-05-19 Thread Viktor Szakáts
>>> Function TestLoadLib >>> Local hDll := hb_LibLoad("rmchart.dll") >>> MsgInfo(ValType(hDll)) >>> /* >>> The return is 0 if run ok file "rmchart.dll" exist and 'U' if file does >>> not exist. >>> Is this correct? >>> */ >>> >>> Best regards, >>> Itamar M. Lins Jr. >>> >>> >> >> Yes, because r

[Harbour] Re: Return of hb_LibLoad()

2010-05-19 Thread Itamar Lins
Em 19/05/2010 18:02, Petr Chornyj escreveu: Itamar Lins-2 wrote: Hi! Function TestLoadLib Local hDll := hb_LibLoad("rmchart.dll") MsgInfo(ValType(hDll)) /* The return is 0 if run ok file "rmchart.dll" exist and 'U' if file does not exist. Is this correct? */ Best regards, Itamar M. Lins Jr.

Re: Re[Harbour] turn of hb_LibLoad()

2010-05-19 Thread Petr Chornyj
Itamar Lins-2 wrote: > > Hi! > > Function TestLoadLib > Local hDll := hb_LibLoad("rmchart.dll") > MsgInfo(ValType(hDll)) > /* > The return is 0 if run ok file "rmchart.dll" exist and 'U' if file does > not exist. > Is this correct? > */ > > Best regards, > Itamar M. Lins Jr. > > Yes, becau

[Harbour] Re: pritpal can you include cp852 encoding in hbide?

2010-05-19 Thread Apolinar
Understood, I'll try to find out something. If I find something I'll report. Regards Apolinar ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

Re: [Harbour] Question about Curl detection during compile process

2010-05-19 Thread Viktor Szakáts
Hi, These are the components used by core, this is the reason they are detected centrally. (you may wonder about openssl, which is not yet used by core, but I thought it will/could be, so it's there too) The rest is detected and used on a per contrib basis. There is less verbose feedback for

[Harbour] Re: Question about compiling Harbour, and compiling .PRGs

2010-05-19 Thread smu johnson
If it turns out this isn't needed... I probably was confused because it might be simply defaulting the -comp= argument during my hbmk2 builds... that is my theory. I thought I'd write that so I don't sound like a complete fool. On Wed, May 19, 2010 at 12:58 PM, smu johnson wrote: > Hi, > > Que

[Harbour] Question about compiling Harbour, and compiling .PRGs

2010-05-19 Thread smu johnson
Hi, Question: If you want to try using a different compiler to compile your .PRGs, do you have to use that very same compiler to (re)compile Harbour itself first? I have found this to be the case with Open Watcom and MSVC. But I am unsure if I am going at it the wrong way. PS: I am experimenti

[Harbour] Re: pritpal can you include cp852 encoding in hbide?

2010-05-19 Thread Pritpal Bedi
Apolinar wrote: > > As in subject > Is not it one from the list hbIDE implements ? Try all. If not, then I have no clue how it can be implemented. I can do only if Qt provides one. Because I do now know the basics so cannot write a sub-class. - enjoy hbIDEing... Pritpal Be

[Harbour] Question about Curl detection during compile process

2010-05-19 Thread smu johnson
Hi there, A simple question: Is curl support for Harbour provided internally, or is it a component to be detected? I see how zlib is mentioned in the compile output header as being detected, and openssl is scanned but not found, etc... ... but I don't see any mention of libcurl, whether or not

Re: [Harbour] New page in PDF file with cairo.

2010-05-19 Thread Mindaugas Kavaliauskas
Hi, On 2010.05.19 19:40, Horodyski Marek (PZUZ) wrote: In c:\harbour\contrib\hbhpdf\ is class : pdf := HPDF_New() and in this class is : page := HPDF_AddPage( pdf) Cairo is nice, but in cairo we are do not can make this (adds page). Why not to look at lightning.prg that produces 20 pages

[Harbour] Return of hb_LibLoad()

2010-05-19 Thread Itamar Lins
Hi! Function TestLoadLib Local hDll := hb_LibLoad("rmchart.dll") MsgInfo(ValType(hDll)) /* The return is 0 if run ok file "rmchart.dll" exist and 'U' if file does not exist. Is this correct? */ Best regards, Itamar M. Lins Jr. ___ Harbour mailing li

[Harbour] pritpal can you include cp852 encoding in hbide?

2010-05-19 Thread Apolinar
As in subject Regards Apolinar ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

[Harbour] New page in PDF file with cairo.

2010-05-19 Thread Horodyski Marek (PZUZ)
Hi, In c:\harbour\contrib\hbhpdf\ is class : pdf := HPDF_New() and in this class is : page := HPDF_AddPage( pdf) Cairo is nice, but in cairo we are do not can make this (adds page). This is probably function : "cairo_pdf_surface_create_for_stream". I do not know if I have understood instructi

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

2010-05-19 Thread Viktor Szakáts
It's always submitted by whom you see in the "from" address. The header was my mistake slipping by a few lines and copying Przemek header entry rather then mine. Viktor On 2010 May 19, at 13:52, vatzct wrote: > 19.05.2010 11:39, vszak...@users.sourceforge.net написав(ла): >> Revision: 14527 >>

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

2010-05-19 Thread vszakats
Revision: 14528 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14528&view=rev Author: vszakats Date: 2010-05-19 12:03:15 + (Wed, 19 May 2010) Log Message: --- Fixed wrong Changlog entry header Modified Paths: -- trunk/harbour/ChangeLog

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

2010-05-19 Thread vatzct
19.05.2010 11:39, vszak...@users.sourceforge.net написав(ла): Revision: 14527 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14527&view=rev Author: vszakats Date: 2010-05-19 08:39:51 + (Wed, 19 May 2010) ^^^ Author the vszakats but log message from

[Harbour] hb_atomic_* not exported

2010-05-19 Thread Viktor Szakáts
Hi Przemek, I'm trying to create -shared Harbour app while linking hbnetio, and hb_atomic_* functions are missing from Harbour .dll so it fails. Shouldn't they be declared 'extern HB_EXPORT'? (now there is not qualifier before declaration) Viktor __

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

2010-05-19 Thread vszakats
Revision: 14527 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14527&view=rev Author: vszakats Date: 2010-05-19 08:39:51 + (Wed, 19 May 2010) Log Message: --- 2010-05-19 10:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * utils/hbmk2/hbmk2.p