RE: [Harbour] Re: SF.net SVN: harbour-project:[13399] trunk/harbour/src/common/hbtrace.c

2009-12-27 Thread Bisz István
Hi Xavi, > Sorry but ... What this issue has to do with this code? No, the mentioned code serves just WinDbg, I tested it with DbgView too. But after the latest commits it's obsolete. > Please, to which I can understand and sorry for my bad English. > Do you saying that windbg generate issue bec

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

2009-12-27 Thread Pritpal Bedi
Hello Vailton Vailton Renato wrote: > > I had put an alert there, just to warn you when a directory does not > exist or user forget to fill the field. I think if the User forget to > fill, we can ignore the error msg and I assume the default value. > > Building on this, I am outlining some det

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

2009-12-27 Thread marco bra
On Ubuntu 9.10 and on Ubuntu 10.04 (unstable) compiling from svn rev. 13403 i get this error Thank you and best regards. Marco gcc -I. -I../../../../../include -Wall -W -O3 -ohbtrace.o -c ../../../hbtrace.c ../../../hbtrace.c: In function ‘hb_tracelog_’: ../../../hbtrace.c:214: error: ‘s_win

[Harbour] hbwin wapi_GetLastError() issue.

2009-12-27 Thread Xavi
Hi All, testwmtx.prg may not work because Harbour internal can call Windows API and setting "Last Error". [I think in MT mode, with hbvmmt, does not work]. " Some functions set the last error code to 0 on success and others do not. You should call the GetLastError function immediately when a fun

Re: [Harbour] Harbour 2.0.0: Released

2009-12-27 Thread WenSheng
Wow ~ great! Now I can use the BCC5 complete compilation Harbour, And do not modify any code in. Thank you very much for great help. > Hi, > > >> Did you try the -CP437 switch? With what results/outputs? > > > > Sorry~~ I don't know how to config -CP437, can you teach me? > > It was in the or

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

2009-12-27 Thread vszakats
Revision: 13403 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13403&view=rev Author: vszakats Date: 2009-12-28 01:38:22 + (Mon, 28 Dec 2009) Log Message: --- 2009-12-28 02:36 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/common/hbtrace.c

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

2009-12-27 Thread Xavi
El 28/12/2009 2:04, vszak...@users.sourceforge.net escribió: * Adding \r\n for OutputDebugString() text to make WinDbg display look readable, this time by simply extending printf() mask. Thanks Viktor but I think adding just '\n' is sufficient and the code looks better. :) -- Xavi

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

2009-12-27 Thread Viktor Szakáts
Just realized that also hb_[v]snprintf() is calling hb_xgrab() internally, but I can't say if it's actually called when processing mask present in hbtrace code. Maybe it's better to restore disabler-hack? (in this case though probably a less global solution is enough around hb_[v]snprintf() calls.

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

2009-12-27 Thread vszakats
Revision: 13402 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13402&view=rev Author: vszakats Date: 2009-12-28 01:04:24 + (Mon, 28 Dec 2009) Log Message: --- 2009-12-28 01:56 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/common/hbtrace.c

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

2009-12-27 Thread Pritpal Bedi
Hi Vailton Renato wrote: > > I had put an alert there, just to warn you when a directory does not > exist or user forget to fill the field. I think if the User forget to > fill, we can ignore the error msg and I assume the default value. > > Building on this, I am outlining some details about

Re: [Harbour] Re: SF.net SVN: harbour-project:[13399] trunk/harbour/src/common/hbtrace.c

2009-12-27 Thread Xavi
El 27/12/2009 23:12, Bisz István escribió: 2. If fm.c is requested with -DHB_TR_LEVEL_DEBUG. The HB_TCHAR_CONVTO macro calls indirectly HB_TRACE, generating in this way the mentioned stack overflow. Fortunately debugged with windbg. Sorry but ... What this issue has to do with this code? ...

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

2009-12-27 Thread Vailton Renato
Hi! >> workinkg folder, and destination folder give error first saving then give >> default >> > > I did not test, Vailton? I had put an alert there, just to warn you when a directory does not exist or user forget to fill the field. I think if the User forget to fill, we can ignore the error msg

RE: [Harbour] Re: SF.net SVN: harbour-project:[13399] trunk/harbour/src/common/hbtrace.c

2009-12-27 Thread Bisz István
Hi Viktor, > I'd appreciate if you could describe it, as I don't have such > official debugger on my system, I used DbgView() for tests. The windbg in a component of "Microsoft Windows SDK for Windows 7 and .NET Framework 3.5 SP1" / "Debugging tools for Windows". Dbgview is just a very useful vi

Re: [Harbour] Re: SF.net SVN: harbour-project:[13399] trunk/harbour/src/common/hbtrace.c

2009-12-27 Thread Viktor Szakáts
Hi Istvan, >> Overall I'm not sure this function should alter passed trace string in any > ways. > It can easily checked by reverting the change and trying to debug with > windbg, as I know the 'official' GUI debugger. I'd appreciate if you could describe it, as I don't have such official debugg

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

2009-12-27 Thread Pritpal Bedi
Hello Massimo First, you posted this message in reference to irrelevant thread. And hence a lot of us may loose the context in the future. Can you start a new thread with clear-cut subject line ? The thread you replied to pertains to HBXBP, not HBIDE. Massimo Belgrano-3 wrote: > > Follow my i

RE: [Harbour] Re: SF.net SVN: harbour-project:[13399] trunk/harbour/src/common/hbtrace.c

2009-12-27 Thread Bisz István
Hi Viktor, > Overall I'm not sure this function should alter passed trace string in any ways. It can easily checked by reverting the change and trying to debug with windbg, as I know the 'official' GUI debugger. > As for the anti-reentrance logic, it probably needs to be > changed to mutexes, as

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

2009-12-27 Thread Pritpal Bedi
Hi ShumWC wrote: > > Does hbxbp staick on top-bottom windows approach in screen coordinate > system > ? > YES. Regards Pritpal Bedi -- View this message in context: http://old.nabble.com/SF.net-SVN%3A-harbour-project%3A-11357--trunk-harbour-tp24030434p26937616.html Sent from the Harbour -

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

2009-12-27 Thread vszakats
Revision: 13401 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13401&view=rev Author: vszakats Date: 2009-12-27 21:46:57 + (Sun, 27 Dec 2009) Log Message: --- 2009-12-27 22:44 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/common/hbtrace.c

Re: [Harbour] Re: SF.net SVN: harbour-project:[13399] trunk/harbour/src/common/hbtrace.c

2009-12-27 Thread Viktor Szakáts
Hi, > Hi Viktor, > > This solution strips the trailing isspace characters from the debug info and > inserts the necessary CR/LF for windbg, not more. > Maybe we can define here a lot of similar solutions for the same thing. One problem with this is that it's now implemented as a Windows-only so

Re: [Harbour] Re: SF.net SVN: harbour-project:[13399] trunk/harbour/src/common/hbtrace.c

2009-12-27 Thread Xavi
István, .. and inserts the necessary CR/LF for windbg AFAIK only need '\n', if you like to jump the line and with DebugView, OutputDebugString() always introduce a line/entry into the debugger displays for each call, ended or not with '\n'. If you insert '\n' i

Re: [Harbour] QT Library

2009-12-27 Thread JOEL - YAHOO
Em 27/12/2009 16:12, Massimo Belgrano escreveu: As you seen in C:\hb20\contrib\hbqt\test\hbmk.hbm ** libs=hbqt libs=hbqtcore hbqtgui hbqtnetwork {win}libs=version shlwapi {allwin}libs=QtCore4 QtGui4 QtNetwork4 QtUiTools {allwin}libs=psapi {linux}libs=QtCore QtGui QtNetwork QtUiT

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

2009-12-27 Thread Massimo Belgrano
Follow my impression in news project the required field project location in not to current dir but c:/harbour/contrib/hbide/projects workinkg folder, and destination folder give error first saving then give default File open,new not add to project element but only to editor every times that i requi

RE: [Harbour] Re: SF.net SVN: harbour-project:[13399] trunk/harbour/src/common/hbtrace.c

2009-12-27 Thread Bisz István
Hi Viktor, This solution strips the trailing isspace characters from the debug info and inserts the necessary CR/LF for windbg, not more. Maybe we can define here a lot of similar solutions for the same thing. Best regards, István -Original Message- From: harbour-boun...@harbour-project.

[Harbour] Re: SF.net SVN: harbour-project:[13399] trunk/harbour/src/common/hbtrace.c

2009-12-27 Thread Viktor Szakáts
Hi Istvan, > + /* > + * sizeof( buffer2 ) - 3 is room for CR/LF/NUL > + */ > if( proc ) > - hb_snprintf( buffer2, sizeof( buffer2 ), "%s:%d:%s() %s %s", > - file, line, proc, pszLevel, buffer1 ); > + n = hb_snprintf( buffer2, sizeof( buf

Re: [Harbour] Harbour 2.0.0: Released

2009-12-27 Thread Viktor Szakáts
Hi, >> Did you try the -CP437 switch? With what results/outputs? > > Sorry~~ I don't know how to config -CP437, can you teach me? It was in the original mail from previous thread: --- > I'd try to enforce single-byte codepage in BCC by compiling with > HB_USER_CFLAGS=-CP437 > Although docs say t

Re: [Harbour] QT Library

2009-12-27 Thread Massimo Belgrano
As you seen in C:\hb20\contrib\hbqt\test\hbmk.hbm ** libs=hbqt libs=hbqtcore hbqtgui hbqtnetwork {win}libs=version shlwapi {allwin}libs=QtCore4 QtGui4 QtNetwork4 QtUiTools {allwin}libs=psapi {linux}libs=QtCore QtGui QtNetwork QtUiTools {darwin}libs=/Library/Frameworks/QtCore.frame

[Harbour] QT Library

2009-12-27 Thread JOEL - YAHOO
Mrs. Can please tell me what are the libraries to link with app? (QT) Regards Joe Bernardes __ Faça ligações para outros computadores com o novo Yahoo! Messenger http://br.beta.messenger.yahoo.com/ ___

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

2009-12-27 Thread ibisz
Revision: 13400 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13400&view=rev Author: ibisz Date: 2009-12-27 16:33:49 + (Sun, 27 Dec 2009) Log Message: --- The corresponding Changleog update to Rev 13399 Revision Links: -- http://harb

[Harbour] SF.net SVN: harbour-project:[13399] trunk/harbour/src/common/hbtrace.c

2009-12-27 Thread ibisz
Revision: 13399 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13399&view=rev Author: ibisz Date: 2009-12-27 16:24:45 + (Sun, 27 Dec 2009) Log Message: --- 2009-12-27 16:30 UTC+0100 Istvan Bisz (istvan.bisz/at/t-online.hu) * harbour/src/common/hbtrac

[Harbour] Update URL in codestyl.txt needed...

2009-12-27 Thread Vailton Renato
Hi! Please consider upgrading the file codestyl.txt changing the URL http://www.tuxedo.org/~esr/jargon/html/entry/indent-style.html that does not work, for one they think has the same relevance: http://www.catb.org/~esr/jargon/html/I/indent-style.html It is a pretty simple, but it helped me to be

Re: [Harbour] Harbour 2.0.0: Released

2009-12-27 Thread WenSheng
> > > > What does that mean? > > Did you try the -CP437 switch? With what results/outputs? Sorry~~ I don't know how to config -CP437, can you teach me? > > The old code can be modified to solve the problem. > > > However, the new harbour could not follow a set pattern. > > > > Before we modif

Re: [Harbour] Harbour 2.0.0: Released

2009-12-27 Thread Viktor Szakáts
On Sun, Dec 27, 2009 at 3:00 PM, WenSheng wrote: > > No!No!No! > What does that mean? Did you try the -CP437 switch? With what results/outputs? > The old code can be modified to solve the problem. > However, the new harbour could not follow a set pattern. > Before we modify a hundred files i

Re: [Harbour] Harbour 2.0.0: Released

2009-12-27 Thread WenSheng
No!No!No! The old code can be modified to solve the problem. However, the new harbour could not follow a set pattern. > Hi, > > This has been answered earlier this year to the exact > same question of yours: > > - > Begin forward