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

2009-11-15 Thread Bisz István
pls hold on I'll clean the whole debug stuff in both hbxbp and hbqt. Great! Thanks. Best regards, István ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

Re: [Harbour] Partial classes

2009-11-15 Thread Chen Kedem
José, I would like your opinion about the concept of 'partial class' This syntax is something I saw in .NET and didn't like it. For me it look like a hack MS did to allow the separation of the GUI definition file from the code behind file. A better way would be to sub class MyClass into

Re: [Harbour] Partial classes

2009-11-15 Thread Viktor Szakáts
My short opinion is that such extra flexibility would just increase chaos and help to create write-only code. To me the cleanest so far class implementation is in Java, where each source file is one class, the name of the source file equals the class name. Brgds, Viktor On 2009 Nov 15, at

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

2009-11-15 Thread vszakats
Revision: 12887 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=12887view=rev Author: vszakats Date: 2009-11-15 08:44:27 + (Sun, 15 Nov 2009) Log Message: --- 2009-11-15 09:43 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbqt/hbqt.h *

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

2009-11-15 Thread Chen Kedem
Viktor, Could be, I don't know what is the proper placement of cg32 lib. Especially since we're using bcc32 (not ilink32) which will add CRTL libs on its own, so it's happening in a hidden way right now. Borland's IDE put cg32.lib as first library. For the test I hardwired config/win/bcc.mk

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

2009-11-15 Thread Bisz István
Hi Viktor, ; NOTE: I didn't test any of these. Pls do so. I getting this error: win-make[3]: *** No rule to make target `../../../hbqt_misc.prg', needed by `hbqt_misc.c'. Stop. win-make[2]: *** [descend] Error 2 win-make[1]: *** [hbqt.inst] Error 2 win-make: *** [contrib.inst] Error 2

Re: [Harbour] OLE objects syntax...

2009-11-15 Thread francesco perillo
Here it is, save it as sample.prg, compiling is with these lines (the first one doesn't compile...) Comments and error messages in the code... hbmk2 sample.prg xhb.lib hbwin.lib -ofirst1 -dFIRST1 hbmk2 sample.prg xhb.lib hbwin.lib -ofirst2 -dFIRST2 hbmk2 sample.prg xhb.lib hbwin.lib -osecond

[Harbour] add Compiler version in info

2009-11-15 Thread Massimo Belgrano
Is possible in //info return also c compiler and his version? -- Massimo Belgrano ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

Re: [Harbour] add Compiler version in info

2009-11-15 Thread calimero22
Hi Massimo You can use the macro __VERSION__ It gives the actual version of C compiler. Example: printf("Compiled with GCC ver. %s\n",__VERSION__); Giovanni Di Maria Is possible in //info return also c compiler and his version? -- Massimo Belgrano

Re: [Harbour] add Compiler version in info

2009-11-15 Thread Chen Kedem
Massimo, Is possible in //info return also c compiler and his version? You have this information in the //build switch. Chen. ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org

Re: [Harbour] add Compiler version in info

2009-11-15 Thread Massimo Belgrano
Very thanks i dont know //build is exactly what i need 2009/11/15 Chen Kedem n...@synel.co.il: Massimo, Is possible in //info return also c compiler and his version? You have this information in the //build switch.  Chen. ___ Harbour mailing

[Harbour] Edit Compile Debug in visual cycle

2009-11-15 Thread Massimo Belgrano
whem develop in harbour using xmate by andy wos i have a high productivity When compile my sample without xmate i start immediately because i not need create xhp for each project But when i compile and debug my source is difficult moving from error to editor With xmate i have a high

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

2009-11-15 Thread vszakats
Revision: 12888 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=12888view=rev Author: vszakats Date: 2009-11-15 12:44:53 + (Sun, 15 Nov 2009) Log Message: --- 2009-11-15 13:35 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) +

Re: [Harbour] Edit Compile Debug in visual cycle

2009-11-15 Thread Przemysław Czerpak
On Sun, 15 Nov 2009, Massimo Belgrano wrote: Hi, whem develop in harbour using xmate by andy wos i have a high productivity When compile my sample without xmate i start immediately because i not need create xhp for each project But when i compile and debug my source is difficult moving

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

2009-11-15 Thread Bisz István
Hi Viktor, ; NOTE: I didn't test any of these. Pls do so. I getting this error: c:/harbour/mingw/lib/win/mingw/libhbqt.a(hbqt_misc.o):hbqt_misc.c:(.data+0x68): undefined reference to `HB_FUN_ISARRAY' Best regards, István ___ Harbour mailing

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

2009-11-15 Thread Viktor Szakáts
Thanks. Pls add #include common.ch to that file. I'll commit it a little bit later with some other things. Brgds, Viktor On 2009 Nov 15, at 14:57, Bisz István wrote: Hi Viktor, ; NOTE: I didn't test any of these. Pls do so. I getting this error:

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

2009-11-15 Thread Bisz István
Thanks. Pls add #include common.ch to that file. I'll commit it a little bit later with some other things. OK. I will proceed in this way. Best regards, István -Original Message- From: harbour-boun...@harbour-project.org [mailto:harbour-boun...@harbour-project.org] On Behalf Of

Re: [Harbour] Edit Compile Debug in visual cycle

2009-11-15 Thread Viktor Szakáts
+1 While I'm comfortable at the command line, I couldn't yet find an alternative for Far Manager on *nix systems. I need the two panel modes, integrated cmdline plus the very decent editor it has. This is the last important bit which ties me to the Windows platform on a daily basis. Maybe

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

2009-11-15 Thread Bisz István
Hi Viktor, Your advise solves the build problem. Now the hbqt trace mechanism works perfectly with DebugView V4.76 on Vista SP2, thank you Pritpal thank you Viktor. 1. the hbqt is build with: @set HB_USER_PRGFLAGS=-D__HB_DEBUG__ -D__HB_WINDEBUG__ @set HB_USER_CFLAGS=-D__HB_DEBUG__

Re: [Harbour] Partial classes

2009-11-15 Thread José Luis Capel
Hi Chen Thanks for your answer. 2009/11/15 Chen Kedem n...@synel.co.il José, I would like your opinion about the concept of 'partial class' This syntax is something I saw in .NET and didn't like it. For me it look like a hack MS did to allow the separation of the GUI definition file

RE: [Harbour] Edit Compile Debug in visual cycle

2009-11-15 Thread Bisz István
Hi, A visual IDE with a version control system integrated is a minimal requirement for any modern languages. So +1 xmate+hbqt+svn. Best regards, István -Original Message- From: harbour-boun...@harbour-project.org [mailto:harbour-boun...@harbour-project.org] On Behalf Of Przemyslaw

Re: [Harbour] Edit Compile Debug in visual cycle

2009-11-15 Thread Massimo Belgrano
i use follow starting for a array with a list similar to Xmate FUNCTION CREA_XMATE(filechoice) local a_xmate:={},A LOCAL X_LOG,X_MATE AADD(A_XMATE,[Version]) AADD(A_XMATE,Type=xMate) AADD(A_XMATE,Number=1.15) AADD(A_XMATE,) AADD(A_XMATE,[Info]) AADD(A_XMATE,Type=Executable)

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

2009-11-15 Thread vszakats
Revision: 12889 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=12889view=rev Author: vszakats Date: 2009-11-15 15:56:19 + (Sun, 15 Nov 2009) Log Message: --- 2009-11-15 16:55 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) *

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

2009-11-15 Thread vszakats
Revision: 12890 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=12890view=rev Author: vszakats Date: 2009-11-15 16:00:26 + (Sun, 15 Nov 2009) Log Message: --- Added this NOTE to latest ChangeLog entry: ; NOTE: The only real world use of this

Re: [Harbour] Edit Compile Debug in visual cycle

2009-11-15 Thread Mindaugas Kavaliauskas
Hi, Viktor Szakáts wrote: While I'm comfortable at the command line, I couldn't yet find an alternative for Far Manager on *nix systems. Midnight commander is equivalent on Linux. Regards, Mindaugas ___ Harbour mailing list (attachment size

Re: [Harbour] Edit Compile Debug in visual cycle

2009-11-15 Thread Viktor Szakáts
On 2009 Nov 15, at 18:12, Mindaugas Kavaliauskas wrote: Hi, Viktor Szakáts wrote: While I'm comfortable at the command line, I couldn't yet find an alternative for Far Manager on *nix systems. Midnight commander is equivalent on Linux. It's supposed to be, but in practice it's just

Re: [Harbour] OLE objects syntax...

2009-11-15 Thread Mindaugas Kavaliauskas
Hi, #ifdef FIRST1 oPdfApp:cOption( UseAutoSave ) := 1 // Compiler error #endif #ifdef FIRST2 oPdfApp:cOption( UseAutoSave , 1 ) // runtime error #endif // I've used OleView.exe to see PDFCreator methods. It shows: [id(0x68030009), propget] HRESULT cOption([in] BSTR PropertyName,

Re: [Harbour] Edit Compile Debug in visual cycle

2009-11-15 Thread Mindaugas Kavaliauskas
Hi, Viktor Szakáts wrote: It's supposed to be, but in practice it's just can't work nearly that smoothly. F.e. even PgUp/PgDn died (or maybe it never worked) to navigate, I have to press Esc twice to exit a View/Edit window, Insert key doesn't work, the editor is quite limited in

Re: [Harbour] OLE objects syntax...

2009-11-15 Thread Viktor Szakáts
// Error BASE/3012 Argument error: COPTION // Called from WIN_OLEAUTO:COPTION(0) // Called from SAMPLE(42) The real error code is 0x8002000E DISP_E_BADPARAMCOUNT It would be nice to have real OLE error code instead of 3012, but the problem is that error codes are USHORT and OLE errors

Re: [Harbour] Edit Compile Debug in visual cycle

2009-11-15 Thread Przemysław Czerpak
On Sun, 15 Nov 2009, Mindaugas Kavaliauskas wrote: Hi, Viktor Szakáts wrote: It's supposed to be, but in practice it's just can't work nearly that smoothly. F.e. even PgUp/PgDn died (or maybe it never worked) to navigate, I have to press Esc twice to exit a View/Edit window, Insert key

Re: [Harbour] Edit Compile Debug in visual cycle

2009-11-15 Thread Viktor Szakáts
Hi, Is hard to explain to everybody why is necessary to implement a new modern environment to develop something. As I see, is not this list goal at all. If we are reducing our argues to some key combinations, is far away from our goals. So, please be flexible to go from an old to a new

Re: [Harbour] OLE objects syntax...

2009-11-15 Thread Viktor Szakáts
Hi Przemek, Viktor, The bad thing with abstracted types is the fact the it makes creating interface between Harbour and other tools harder. As long as Harbour uses well known types then it's quite easy. When I have a function in some library which needs as parameter variable as type 'abc'

RE: [Harbour] Edit Compile Debug in visual cycle

2009-11-15 Thread Bisz István
Sorry, for my first blow-up... -Original Message- From: harbour-boun...@harbour-project.org [mailto:harbour-boun...@harbour-project.org] On Behalf Of Viktor Szakáts Sent: 2009. november 15. 23:21 To: Harbour Project Main Developer List. Subject: Re: [Harbour] Edit Compile Debug in visual

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

2009-11-15 Thread vszakats
Revision: 12891 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=12891view=rev Author: vszakats Date: 2009-11-15 22:35:57 + (Sun, 15 Nov 2009) Log Message: --- 2009-11-15 23:33 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/rtl/errapi.c !

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

2009-11-15 Thread vszakats
Revision: 12892 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=12892view=rev Author: vszakats Date: 2009-11-15 22:39:14 + (Sun, 15 Nov 2009) Log Message: --- 2009-11-15 23:38 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * include/hbdefs.h +

Re: [Harbour] OLE objects syntax...

2009-11-15 Thread Viktor Szakáts
In this case I agree that final type for error codes should be existing HB_ERRCODE and this type should be converted to 'unsigned int' but before you will change it please check all places in the Harbour SVN which will be effected by such modification. We have to well know them. I'm mostly

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

2009-11-15 Thread vszakats
Revision: 12893 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=12893view=rev Author: vszakats Date: 2009-11-15 23:01:44 + (Sun, 15 Nov 2009) Log Message: --- 2009-11-16 00:01 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * include/hbdefs.h -

RE: [Harbour] Edit Compile Debug in visual cycle

2009-11-15 Thread Bisz István
Hi Viktor, As I see now, our common harbour project is viable just in the case of integration an IDE offering the modern features. I don't want to list them, as I see they are known by you. Best regards, István ___ Harbour mailing list (attachment

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

2009-11-15 Thread vszakats
Revision: 12894 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=12894view=rev Author: vszakats Date: 2009-11-15 23:15:08 + (Sun, 15 Nov 2009) Log Message: --- 2009-11-16 00:14 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * utils/hbmk2/hbmk2.prg

Re: [Harbour] Edit Compile Debug in visual cycle

2009-11-15 Thread Viktor Szakáts
Hi Viktor, As I see now, our common harbour project is viable just in the case of integration an IDE offering the modern features. I don't want to list them, as I see they are known by you. They are, and while I still think a programming language like Harbour can be useful and usable in

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

2009-11-15 Thread Przemysław Czerpak
On Sun, 15 Nov 2009, vszak...@users.sourceforge.net wrote: Hi, * include/hbdefs.h - Deleted HB_ERRCODE. It already existed as HB_ERRCODE, mainly used in RDD. That makes this change a bit more complicated than I thought. Plus two more issues: 1) Some places use

Re: [Harbour] dbcreate error 1010 windows vista64

2009-11-15 Thread Przemysław Czerpak
On Fri, 13 Nov 2009, Szak�ts Viktor wrote: Hi, I think it's merely a write permission problem. It'd fail the same way under XP with a restricted user account. Yes, it's possible anyhow this error code is generated from hb_dbfReadRecord() and it should not happen for new files created by

Re: [Harbour] Edit Compile Debug in visual cycle

2009-11-15 Thread Pritpal Bedi
Hello Viktor, All Viktor Szakáts wrote: To me: 0) Availability on OS X, Linux and Windows x86 and x64. 1) Very good editor with block editing capability, syntax highlighting, possibly intellisense. Project-wide search and replace. Support for all CPs Harbour supports. 2)

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

2009-11-15 Thread Przemysław Czerpak
On Fri, 13 Nov 2009, Szak�ts Viktor wrote: Hi, All I can do is reupload the ones done with Clipper. I hope someone will be able to make the tests. Thank you very much. I'm still not sure what we're testing here? Whether cpinfo.prg and Harbour CP engine is correct? Sorry for my

[Harbour] c compiler ?

2009-11-15 Thread Ciro Vargas C
Hi all: any way to know what compiler has been used at compile time in PRG level ? TIA Ciro -- http://www.oohg.prg http://sistemascvc.tripod.com donaciones para CVC de ooHG https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclickhosted_button_id=5369884

Re: [Harbour] SSL

2009-11-15 Thread Alex Strickland
Viktor Szakáts wrote: Unfortunately not. I had not touched the certificate topic yet. No problem, thanks again. Regards Alex ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org

Re: [Harbour] SSL

2009-11-15 Thread Alex Strickland
Gerald Drouillard wrote: Another approach is consider using the curl support. For us it works great. Thanks, I probably will. Are you using the exe or the library? wget.exe does not appear to support adding a pass key on the command line. I think curl.exe does, I would appreciate a heads up

Re: [Harbour] c compiler ?

2009-11-15 Thread Massimo Belgrano
i not remember but is present in tests\hbtest.prg 2009/11/16 Ciro Vargas C c...@oohg.org: Hi all: any way to know what compiler has been used  at compile time in PRG level ? TIA Ciro -- http://www.oohg.prg http://sistemascvc.tripod.com donaciones para CVC de ooHG

Re: [Harbour] Edit Compile Debug in visual cycle

2009-11-15 Thread Massimo Belgrano
I can suggest the open source way scintilla http://www.scintilla.org/ same licenze exception of harbour A free source code editing component for Win32 and GTK+ But hope that Przemek or samebody send a mail to Andy Wos,Vailton Renato to join effort with a ready to use and good solution