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

2010-02-17 Thread Xavi
, but simply switching encoded strings to nul terminated ones is not a complete solution. Maybe yes, I'm not sure, I just think that simplify use. Best regards, Xavi ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-projec

Re: [Harbour] hb_InetAddress()

2010-02-19 Thread Xavi
dress. aAdapters == { {cType, cNameDes, cMAC, cAddress, cMask, cGateway, cAdapter} } So if you provides functions names, file names, in short where putting it, I think that don't it cost me a lot of work. :) Best regards, Xavi El 19/02/2010 11:36, Przemysław Czerpak escribió: On Fri, 19 Feb 2010,

Re: [Harbour] hb_InetAddress()

2010-02-19 Thread Xavi
Okay. You can attach your source if you think so, I'm sure it helps Przemek. I think it's public. http://groups.google.us/group/comp.lang.xharbour/browse_thread/thread/8a9348df065610fc#b8c7e71c405b7e52 Obviously adapted to the new Harbour. Best regards, Xavi El 19/02/2010 19:

Re: [Harbour] hb_InetAddress()

2010-02-19 Thread Xavi
Hi Viktor, Okay. I thought about it but waiting to see what says or does Przemek. Hope the development list work, because the other participant are off topic. Best regards, Xavi El 19/02/2010 20:06, Viktor Szakáts escribió: Okay. Probably it would be better to change to load the .dll

Re: [Harbour] Re: error C2485 compiling hvm.c with vce 2007

2010-02-19 Thread Xavi
Antonio, Seems that Windows CE does not support the __declspec(thread) attribute. But you're using HB_STACK_MACROS, remember .- http://lists.harbour-project.org/pipermail/harbour/2009-December/029344.html -- Xavi El 19/02/2010 3:41, Antonio Linares escribió: More on the C2485 error comp

Re: [Harbour] hb_InetAddress()

2010-02-19 Thread Xavi
k = hb_stackItemFromTop( -1 ); if( pCodeBlock && HB_IS_BLOCK( pCodeBlock ) ){ hb_arraySort( pItmArray, NULL, NULL, pCodeBlock ); } hb_stackPop(); } ... Best regards, Xavi El 19/02/2010 16:02, Viktor Szakáts escribió: Hi Xavi, Przemek, To have si

Re: [Harbour] hb_InetAddress()

2010-02-19 Thread Xavi
Hi Viktor, Ok, without nStatus. I wait to see Przemek's changes. The development list is still not working. Przemek, All information is provided by GetAdaptersInfo() in Windows. It would be nice to have the MAC address on other OS. Best regards, Xavi El 19/02/2010 18:31, Viktor Sz

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

2010-02-22 Thread Xavi
Hi Xavi, _Przemek, thank you very much for answering me directly_ It's is possible. Just like many other things which still do not exists in MS-Windows and we will have to wait next 10 years until MS discover them and add some support for it in WinSOCK.X.Y.Z which will work correct

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

2010-02-24 Thread Xavi
ntotfat1,sum(nimpdsp) as ntotdsp, %3$s from tabtotdsp left join tabtab on tabtab.ctiptab= %2$t and ccoddsp=tabtab.ckeytab where canndoc = %4$t #pragma __endtext ? sql_Sprintf( cFrmSQL, ID_TAB_AGENTI, ID_TAB_CODDSP, cSql, cAnnDsp ) Wait return It seems to me that does the same and

[Harbour] Building Harbour on Windows.

2010-02-26 Thread Xavi
protected by .- #if _WIN32_WINNT >= 0x0501 ... #endif If not, we can have compile-time errors. Please, what do you think about this, comments? -- Xavi ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org h

Re: [Harbour] Building Harbour on Windows.

2010-02-28 Thread Xavi
code as standard headers? ... #if _WIN32_WINNT >= 0x0501 ... __MINGW32__ and __MINGW64__ they are both compiler 's built-in macros. Is defined in mingwce? Best regards, -- Xavi El 26/02/2010 18:06, Viktor Szakáts escribió: Hi, If there is a way to dynamically find out the versio

Re: [Harbour] Building Harbour on Windows.

2010-02-28 Thread Xavi
wce. [ Viktor Please could you send plain text posts, are much easier to read. ] Best regards, -- Xavi El 28/02/2010 16:01, Viktor Szakáts escribió: Hi, On Sun, Feb 28, 2010 at 3:00 PM, Xavi mailto:jara...@gmail.com>> wrote: Hi Viktor and all, Well. Some questions. If this is do

Re: [Harbour] Building Harbour on Windows.

2010-02-28 Thread Xavi
Hi Viktor, Yes, NTDDI_VERSION is the (best? only?) way to detect platform SDK version. The only problem is that MinGW does not use NTDDI_VERSION, it uses _WIN32_WINNT. At least in my versions of MinGW. :) Best regards, -- Xavi El 28/02/2010 17:18, Viktor Szakáts escribió: In the beginning

Re: [Harbour] Building Harbour on Windows.

2010-02-28 Thread Xavi
an expert on this. Best regards, -- Xavi El 28/02/2010 18:12, Viktor Szakáts escribió: On 2010 Feb 28, at 18:02, Xavi wrote: Hi Viktor, Yes, NTDDI_VERSION is the (best? only?) way to detect platform SDK version. The only problem is that MinGW does not use NTDDI_VERSION, it uses _WIN32_WIN

Re: [Harbour] Building Harbour on Windows.

2010-02-28 Thread Xavi
is good for everyone. :) Best regards, -- Xavi El 28/02/2010 19:09, Viktor Szakáts escribió: NTDDI_VERSION = maximum OS version supported by SDK/Windows-headers _WIN32_WINNT = OS version we want to target Okay, but if you remember my thread starting post .- " IMHO the best solution is to defi

Re: [Harbour] Building Harbour on Windows.

2010-03-01 Thread Xavi
e simply does not have this functionality in earlier versions, IMHO. Best regards, -- Xavi El 28/02/2010 19:09, Viktor Szakáts escribió: NTDDI_VERSION = maximum OS version supported by SDK/Windows-headers _WIN32_WINNT = OS version we want to target Okay, but if you remember my thread starting post .- &q

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

2010-03-01 Thread Xavi
yet we want to allow closing the window." Sorry but I don't understand. You change the behavior of GTWVT with SetCancel() respect to GTWIN and GTWVG for something that you can do in your code with .- hb_gtInfo( HB_GTI_NOTIFIERBLOCK, {|e| iif( e == HB_GTE_CLOSE, SetCancel(.T.), nil

Re: [Harbour] Question about hb_gt_win_CtrlHandler usage

2010-03-03 Thread Xavi
irregular shutdown if SetCancel( .F. ) [jarabal] */ + if( hb_setGetCancel() ) +s_bBreak = HB_TRUE; bHandled = TRUE; break; --- -- Xavi El 03/03/2010 23:09, smu johnson escribió: Hi, I'm trying to write a simple Hello World app that does something like a WAIT

Re: [Harbour] Question about hb_gt_win_CtrlHandler usage

2010-03-04 Thread Xavi
s_bBreak = HB_TRUE; #endif ] But I do a new question. How can it be fixed something that does not exist? [ And is not valid the quick answer "does not exist, no problem" because by this logic Harbour would be perfect if not exist. :) ] Best regards, -- Xavi El 04/03/2010 8:31, Vikto

Re: [Harbour] Question about hb_gt_win_CtrlHandler usage

2010-03-04 Thread Xavi
L_CLOSE_EVENT, and 20 seconds for CTRL_LOGOFF_EVENT or CTRL_SHUTDOWN_EVENT)." -- Xavi El 04/03/2010 14:52, Viktor Szakáts escribió: Did you test this code? Yes, if you're referring to that SetCancel( .T. ) Clipper's program under NTVDM differs. I was referring to your patch. Did you tr

Re: [Harbour] Question about hb_gt_win_CtrlHandler usage

2010-03-04 Thread Xavi
Need you a picture of the pop-up dialog box which _allows to continue the process_? -- Xavi El 04/03/2010 16:23, Viktor Szakáts escribió: I was referring to your patch. Did you try it with a test application with both SETCANCEL(.T.) and SETCANCEL(.F.) ? IMHO this difference can be assumed becau

Re: [Harbour] Question about hb_gt_win_CtrlHandler usage

2010-03-04 Thread Xavi
LAG in Inkey Poll, keyboard buffer. Wait ends and the main process is finished so the new thread to execute the function is killed before it can complete their work. -- Xavi El 04/03/2010 18:47, Viktor Szakáts escribió: http://msdn.microsoft.com/en-us/library/ms683242%28VS.85%29.aspx " Ret

Re: [Harbour] Question about hb_gt_win_CtrlHandler usage

2010-03-04 Thread Xavi
s and the main process is finished so the new thread to execute the function is killed before it can complete their work. -- Xavi ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

Re: [Harbour] Question about hb_gt_win_CtrlHandler usage

2010-03-04 Thread Xavi
e status of SETCANCEL in response to WM_CLOSE meet the objective of SETCANCEL. -- Xavi El 04/03/2010 20:38, Viktor Szakáts escribió: It also doesn't work on Vista/Win7/2008. Did _you_ read the comments in your quoted (now for the 6th times) article? I tested it on XP x64, there there is a

Re: [Harbour] Question about hb_gt_win_CtrlHandler usage

2010-03-05 Thread Xavi
case CTRL_CLOSE_EVENT: bHandled = TRUE; break; --- Everyone happy and does the same that Clipper program with .- PROCEDURE Main() ? "Click [X] Not close windows" Wait RETURN Best regards, -- Xavi El 05/03/2010 10:19, Saulius Zrelskis escribió: [for those intereste

Re: [Harbour] Can harbour print to STDOUT?

2010-03-08 Thread Xavi
Can harbour print to the STDOUT? ... hbmk2 program.prg -gtstd program.exe >out.txt -- Xavi El 09/03/2010 2:59, smu johnson escribió: Hi, I've googled for something relevant in the dev archives, but haven't found anything that really is related to my question. Can harbour

Re: [Harbour] field->&("name") in a macro

2010-03-20 Thread Xavi
AR") }') ) // Error BASE/1449 Syntax error: & return func xxx( name ) // b := &( "{|| field->" + name + " }" ) local b := &( "{|| M->" + name + " }" ) return eval( b ) PS At least with this. :) HTH -- Xavi El 20/03/2010

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

2010-03-26 Thread Xavi
Try to use short path name .- dir c:\*.* /X Use ARQUIV~1 HTH -- Xavi El 26/03/2010 15:04, Itamar Lins escribió: Hi! unfortunately the default installation of any program in Windows uses this folder Best regards, Itamar M. Lins Jr. Em 26/3/2010 10:57, Viktor Szakáts escreveu: From INSTALL

[Harbour] Ghost cursor with GTWVT

2010-03-29 Thread Xavi
= hb_gt_wvt_Redraw; pFuncTable->Refresh = hb_gt_wvt_Refresh; + pFuncTable->SetPos = hb_gt_wvt_SetPos; pFuncTable->Version = hb_gt_wvt_Version; pFuncTable->Tone = hb_gt_wvt_Tone;

Re: [Harbour] Ghost cursor with GTWVT

2010-03-30 Thread Xavi
code hard to understand and extend. I agree with this. If you want then I can add code which will make caret SetCaretPos()/ ShowCaret() optimization and maybe it will help you to find when the cursor is wrongly refreshed. Please do it. I can look more in depth. Best regards, Xavi

Re: [Harbour] Ghost cursor with GTWVT

2010-03-30 Thread Xavi
Hi Przemek, ShowCaret() optimization and maybe it will help you to find when the cursor is wrongly refreshed. I think I've found the root of the issue. Please don't nothing about it. Let me do some checking, ...tonight. Best reg

Re: [Harbour] Ghost cursor with GTWVT

2010-04-01 Thread Xavi
() SetPos( 0, 0 ) ... SKIP() ENDDO SetCursor( nCursor ) Of course it supports many optimizations. if( ++n % 1 == 0 ); SetPos( 0, 0 ); endif Best regards, Xavi ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http

Re: [Harbour] Ghost cursor with GTWVT

2010-04-01 Thread Xavi
think that is not even necessary because the VM does calling hb_inkeyPoll :) Best regards, Xavi ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

Re: [Harbour] Ghost cursor with GTWVT

2010-04-04 Thread Xavi
rmance drop down. I agree and I think, of course, don't do this. Pls consult with Przemek about it. Ok. Best regards, Xavi ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

Re: [Harbour] Ghost cursor with GTWVT

2010-04-05 Thread Xavi
Hi Viktor, Ok. Best regards, Xavi El 05/04/2010 0:12, Viktor Szakáts escribió: Hi, Me neither, I guess that Tortoise always makes the patch with the latest version... I correct it manually, no problem. Maybe it's better to do all the changes in the repository or don't change any

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

2010-04-06 Thread Xavi
, Xavi ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

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

2010-04-06 Thread Xavi
the app continue to run. This is what I tried to say and do many times. Could you explain what must be the behavior for both? I've no objection to change. Best regars, Xavi ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harb

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

2010-04-06 Thread Xavi
+0200 Viktor Szakats (harbour.01 syenar.hu) Please use HB_GTI_CLOSABLE and HB_GTI_NOTIFIERBLOCK to control GUI window close behavior. ... 2010-03-01 04:05 UTC+0100 Xavi (jarabal/at/gmail.com) * harbour/src/rtl/gtwvt/gtwvt.c ! Fixing WM_CLOSE event (Clicked 'X' on s

Re: [Harbour] Harbour 1.1.0dev unified binary release (20090331)

2009-04-01 Thread Xavi
avoid gcc warning. Xavi ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

Re: [Harbour] Harbour 1.1.0dev unified binary release (20090331)

2009-04-01 Thread Xavi
Thanks Viktor and sorry, I read your help but I don't know why not worked. Too many new things for my! Now is Ok and I've solved my print problem. ;) Thanks a lot to all and tomorrow more. :) Xavi Viktor Szakáts escribió: Hi Xavi, On Wed, Apr 1, 2009 at 10:59 AM, Xavi &l

Re: [Harbour] Another Issue : Data Types

2009-04-02 Thread Xavi
Pritpal, Sure, I don't understand. Note : on prg level is available as a pointer as QFont* font. (*font) (*hbqt_par_QFont( n )) Xavi Pritpal Bedi escribió: Hi All There is a construct in prototypes as QFontInfo ( const QFont & font ) What way we can translate in Harbour.

Re: [Harbour] msys + mingw postinst problem

2009-04-02 Thread Xavi
=D:\Qt\2009.01\qt\include Set HB_COMPILER=mingw Set HB_INSTALL_PREFIX=D:\Qt\harbour cd trunk\harbour Call make_gnu.bat install > res.log cd .. <> Is it wrong? Xavi Viktor Szakáts escribió: Hi Francesco, On Thu, Apr 2, 2009 at 10:27 AM, Fr

Re: [Harbour] msys + mingw postinst problem

2009-04-02 Thread Xavi
IMO: I prefer as it was before. Xavi Viktor Szakáts escribió: Hi Xavi, mingw build needs msys, ... I have compiled the latest SVN version for MinGW without MSYS with the only warning that I said : contrib/hbwin/wapi_commctrl.c line 784 <-

Re: [Harbour] Another Issue : Data Types

2009-04-02 Thread Xavi
Pritpal, It's a C++ refernce if I understand. try this.- QFont serifFont("Times", 10, QFont::Bold); QFont* font = &serifFont;// Address of serifFont QFontInfo FontInf( (*font) ); // Reference of (object) ASSERT( FontInf.bold() ); Xavi Pritpal Bedi e

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

2009-04-02 Thread Xavi
[utils.inst] Error 2 Xavi vszak...@users.sourceforge.net escribió: Revision: 10770 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=10770&view=rev Author: vszakats Date: 2009-04-02 15:32:10 + (Thu, 02 Apr 2009) Log Message: --- 2009-04-02 17:21

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

2009-04-02 Thread Xavi
Thanks victor, Solving last Warning now compiles dlls without MSYS. Xavi ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

Re: [Harbour] Another Issue : Data Types

2009-04-02 Thread Xavi
ni( 3 ) : -1, hb_parl( 4 ) ) ); } else { hb_retptr( ( QFont* ) new QFont() ); } } Xavi Pritpal Bedi escribió: Hi Xavi-13 wrote: Sure, I don't understand. Note : on prg level is available as a pointer as QFont* font. (*font) (*hbqt_par_QFont( n )) No it does

Re: [Harbour] Another Issue : Data Types

2009-04-02 Thread Xavi
Also #define hbqt_par_QIcon( n ) ( QIcon( QString::fromLatin1( hb_parc( n ) ) ) ) Xavi Pritpal Bedi escribió: Hi Xavi-13 wrote: Sure, I don't understand. Note : on prg level is available as a pointer as QFont* font. (*font) (*hbqt_par_QFont( n )) No it does not

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

2009-04-03 Thread Xavi
BASE/1081 Argument error: + Called from MAIN(0) Xavi vszak...@users.sourceforge.net escribió: Revision: 10772 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=10772&view=rev Author: vszakats Date: 2009-04-02 22:21:38 + (Thu, 02 Apr 2009) Lo

Re: [Harbour] Another Issue : Data Types

2009-04-03 Thread Xavi
hb_retptr( ( QFont* ) new QFont( hbqt_par_QString( 1 ), HB_ISNUM( 2 ) ? hb_parni( 2 ) : -1, HB_ISNUM( 3 ) ? hb_parni( 3 ) : -1, hb_parl( 4 ) ) ); } } Xavi Pritpal Bedi escri

Re: [Harbour] Another Issue : Data Types

2009-04-03 Thread Xavi
Try this.- hb_retptr( &( (QTransform& )(hbqt_par_QPainter( 1 )->worldTransform()) ) ); Xavi PS: I feel that my mails are not read. Pritpal Bedi escribió: Hello Przemyslaw Czerpak-2 wrote: hbqt_par_QWebView( 1 )->setUrl( *hbqt_par_QUrl( 2 ) ); Yes, but I suggest to make i

Re: [Harbour] QT - One unresolved warning

2009-04-06 Thread Xavi
you are finished start the corrections. Xavi Pritpal Bedi escribió: Hello All In QT builds you can see a lot of warnings like: ../../hbqt_qwidget.cpp:607: warning: taking address of temporary which is the result of call like this: /* * QPoint mapTo ( QWidget * parent, const QPoint & pos

Re: [Harbour] QT - One unresolved warning

2009-04-07 Thread Xavi
How it will be "freed" will solve later. but is necessary to control their destruction as in all classes. I think in the use of collectible pointer to *new* pointers dynamically allocated, in order to automatic call the destructor of class for *delete* Xavi Pritpal Bedi escribi

Re: [Harbour] QT - One more warning

2009-04-07 Thread Xavi
Pritpal, I think we need another version of Qt to compile with MinGw 4.3.3. Qt 4.5 distribution using MinGW (GCC) 3.4.5 (mingw-vista special r3). I am compiling harbour with this version. Xavi Pritpal Bedi escribió: Hello Xavi This is the warning layer I receive when compile with

Re: [Harbour] QT - One more warning

2009-04-07 Thread Xavi
Viktor, I have studied the differences in built-in defines .- cpp -dD And I see that in 4.3.3 there is a new macro .- #define __declspec(x) __attribute__((x)) Could this be the cause but I don't know. Xavi Viktor Szakáts escribió: I'm using 4.3.3 and besides these warnings, thin

Re: [Harbour] QT - One more warning

2009-04-07 Thread Xavi
Viktor, I have studied the differences in built-in defines .- cpp -dD And I see that in 4.3.3 there is a new macro .- #define __declspec(x) __attribute__((x)) Could this be the cause but I don't know. Xavi Sorry, I was wrong :'( It is also in gcc (GCC) 3.4.5 (mingw-vista specia

Re: [Harbour] Error compiling hbqt with latest svn

2009-04-09 Thread Xavi
Pritpal, Vagelis, Try .- HB_FUNC( QT_QFONT_HANDLE ) { hb_retptr( ( void * ) hbqt_par_QFont( 1 )->handle() ); } Xavi Pritpal Bedi escribió: Hello Vagelis Skarmaliorakis wrote: My installation is Arch Linux 64bit, compiler gcc. I am getting the following error: make[3]: Enter

Re: [Harbour] Error compiling hbqt with latest svn

2009-04-09 Thread Xavi
Marcos, For Win it's Ok, only in Q_WS_X11 HADLE is unsigned long. I think it's portable but I have not tested. Xavi Marcos Gambeta escribió: Pritpal Bedi escreveu: I can assume that on linux HFONT is not supported, as per above, instead it should be Qt::HANDLE. Now the quest

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

2009-04-09 Thread Xavi
Viktor, hbmk2 always compile all the files in project .hbm file have changed or not? Is it not possible that only process the files change since the last time that compile? Xavi vszak...@users.sourceforge.net escribió: Revision: 10824 http://harbour

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

2009-04-09 Thread Xavi
cpage -lhbcommon -lrddntx -lrddcdx -lrddfpt -lhbsix -lhbhsx -lgtgui -lgtwin -Wl,--end-group -lm -luser32 -lwinspool -lole32 -loleaut32 -luuid -lgdi32 -lcomctl32 -lcomdlg32 -lodbc32 `pkg-config --libs gtk+-2.0` Try removing the option -lgtwin of the command line. I don't t

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

2009-04-14 Thread Xavi
0` and Procedure HB_GtSys() HB_GT_GUI_DEFAULT() return Xavi Rodrigo Miguel escribió: One more update. I used to do in the past, just request GTGUI, Like this: REQUEST HB_GT_GUI_DEFAULT so if I remove procedure HB_GTSYS, it complains about: undefined reference to `HB_FUN_HB_GT_WIN' Resuming:

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

2009-04-14 Thread Xavi
Great job Viktor, Thanks. When compiling parallel multithreaded ? ;) New option: -j [N], --jobs[=N] Allow N jobs at once; infinite jobs with no arg. Xavi vszak...@users.sourceforge.net escribió: Revision: 10860 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=10860

Re: [Harbour] QT - ADDON - Alert()

2009-04-16 Thread Xavi
Thanks Vailton, I think it can also be a good example of working with hbqt and I translated to prg. Just as exercise of programming. :) Is this wrong? Xavi #define Qt_PlainText 0 #define QMessageBox_ActionRole 3 #define QMessageBox_Ok 1024

[Harbour] OT: Oracle buys Sun.

2009-04-20 Thread Xavi
http://www.linuxtoday.com/news_story.php3?ltsn=2009-04-20-008-35-NW-BZ http://blogs.computerworld.com/oracle_sun_what_happens_to_mysql ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

[Harbour] MemoEdit() Patch to avoid recursive calls in endless loop.

2009-05-13 Thread Xavi
s correct that exits the application without any errors ? Xavi /* * $Id: memoedit.prg 10595 2009-03-12 09:59:20Z vszakats $ */ /* * Harbour Project source code: * MemoEdit() function * * Copyright 2000 Maurilio Longo * www - http://www.harbour-project.org * * This program is fr

Re: [Harbour] MemoEdit() Patch to avoid recursive calls in endless loop.

2009-05-18 Thread Xavi
Hi Pritpal, Not is another issue is the same except that now, with the patch, not repeated infinitely and my old application will work. The logic of call control function is different to Clipper. Could to say something Maurilio? I'm more worried about leaving the application.

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

2009-05-21 Thread Xavi
*not break* the display !!! @ 0,0 say 'This print in default printer!' SET DEVICE TO SCREEN @ 0,0 say 'Ok' SET PRINTER TO // Print *now* in Win! @ 1,0 say 'Great!' Wait return Thanks Xavi Przemyslaw Czerpak escribió: On Wed, 20 May 2009, vszak...@user

Re: [Harbour] gpf

2009-05-24 Thread Xavi
r escape from switch we need another rules word ? May be, __enumExit() ;) but ... hmmm... try with -gc3 but in real big app I have this gpf How is compiled the real big app? Xavi marek.horody...@interia.pl escribió: This small example work : Function Main() Local a, b, c, t := {} rtzp(

Re: [Harbour] Printing Problem

2009-05-24 Thread Xavi
// Print *now* in Win! SET DEVICE TO SCREEN @ ROW(), 0 SAY "Please check if your printer prints after pressing any key" @ ROW()+2, 0 SAY "Press any key to continue..." INKEY( 0 ) RETURN NIL -- Xavi Sudip Bhattacharyya escribió: Hi All, I am a very new user of Harb

Re: [Harbour] gpf

2009-05-25 Thread Xavi
Small, reduced, self-contained, sample of how cause gpf only with -gc3 .- Procedure Main() Local x, stringORarray := 'Small' for each x in stringORarray switch x case 'a' exit end ? x next // GPF Wait return -- Xavi P.S. Sorr

Re: [Harbour] Set Color Foreground and Background in TQLabel and others ?

2009-05-27 Thread Xavi
How to set colors in QT widgets using HBQT ? http://doc.qtsoftware.com/4.5/stylesheet.html http://doc.qtsoftware.com/4.5/stylesheet-examples.html#style-sheet-usage -- Xavi Pritpal Bedi escribió: Hello Xavi, Marcos Bruno Luciani wrote: How to set colors in QT widgets using HBQT ? The setpale

Re: [Harbour] gcc 4.4.0 warnings

2009-05-27 Thread Xavi
Mindaugas, I don't have test this version. Have you tried to -Os and linker with -s? It's like I get better results in size with 3.4.5 http://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html What parameters are you using for compiler speedtest? Xavi Mindaugas Kavaliauska

Re: [Harbour] gcc 4.4.0 warnings

2009-05-27 Thread Xavi
Sorry to jump into. I do not know what happens but it seems that the mail is deferred. :) Wow! I did not expect to be such a big difference in exe size (496KB vs 882KB) if different optimisation is used. -- Xavi ___ Harbour mailing list Harbour

Re: [Harbour] gcc 4.4.0 warnings

2009-05-28 Thread Xavi
not supported for this target. -- Xavi Procedure Main() ? Test_C_Compiler_W() ? Test_C_Compiler_X() Wait return #pragma BEGINDUMP #include "hbapi.h" HB_FUNC( TEST_C_COMPILER_W ) { char cMsg[ 4096 ]; double ndbRes; ndbRes = 3.05; ndbRes -= 1.55; n

Re: [Harbour] gcc 4.4.0 warnings

2009-05-28 Thread Xavi
Nil *--- On OpenWatcom it is correctly executet, and on BCC (I do not know how the MinGW) ? Sorry I misplace this email :'( This is your output with MinGW .- 0.0 0.0 ** N .F.

Re: [Harbour] XML from xHarbour compatibility

2009-05-29 Thread Xavi
rafa, METHOD New( ) CLASS gConfigHarbour Local oNode, oIter, oNodeLib, cLib, cCheck ::Super:New( ) if ::lOk oNode := ::oDoc:FindFirst( ::cNode ) if oNode != NIL oIter := TXmlIteratorRegex( oNode ) oIter := TXmlIteratorRegex():New( oNode ) -- Xavi rafa

Re: [Harbour] Different Behavior of BCC and Mingw

2009-05-31 Thread Xavi
Sudip, What ?...@#... is this? :) ofn.lStructSize = 76; In BCC and in MinGW !!! .- OPENFILENAME ofn; ZeroMemory(&ofn, sizeof(OPENFILENAME)); ofn.lStructSize = sizeof(OPENFILENAME); Sorry, it's a joke, remember that C don't initialize anything eg nil. -- Xavi Sudip

Re: [Harbour] Different Behavior of BCC and Mingw

2009-05-31 Thread Xavi
lstrcpy( File, hb_parc( 1 ) ); if ( ISCHAR( 2 ) ) lstrcpy( Filter, hb_parc( 2 ) ) ; //ofn.lStructSize = 76; Remark or delete line This runs OK with xHarbour+gtwvw+BCC ... Not comment. -- Xavi P.S. Please don't send emails in HTML is better in text plain. Sudip B

Re: [Harbour] Printing Problem

2009-06-02 Thread Xavi
importance of SET PRINTER TO as I said in .- http://lists.harbour-project.org/pipermail/harbour/2009-May/019603.html but surely that I not explain me well :'( -- Xavi Szakáts Viktor escribió: Thank you very much. I am now able to run win_prn() :-) You're welcome. But I canno

Re: [Harbour] Printing Problem

2009-06-02 Thread Xavi
rt LPT1 or network resource eg .- net use lpt1 \\computer\resource ... -- Xavi ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

[Harbour] TBrowse rowPos test

2009-06-02 Thread Xavi
repository as a test? Please, EMG, Pritpal or anyone could test it with last xHarbour: I think that it does just the opposite. IMHO If so it is very difficult to move successfully some Clipper programs to (x)Harbour and user support. -- Xavi

Re: [Harbour] TBrowse rowPos test

2009-06-02 Thread Xavi
Thanks EMG, I just tried and found the same behavior using Clipper, Harbour and xHarbour. So, I'm wrong and that is good. Maybe I have tested in old version and it failed with RecNos > 24 and FixPos == .T. I'm glad that is no longer well. Best regards. Xavi Enrico Maria Gior

Re: [Harbour] hash() in harbour

2009-06-03 Thread Xavi
Teo, ¿Por qué no está en Harbour? Un Saludo, Xavi Teo Fonrouge escribió: On 03/06/2009, at 01:18 p.m., Bruno Luciani wrote: Hola Teo , si algunas cosas estan claras y viendo los fuentes se interpretan , pero faltan muchisimos ejemplos y ademas si miras la documentacion de QT(incluso los

Re: [Harbour] hash() in harbour

2009-06-03 Thread Xavi
think about what is best is the same that between contrib of MySQL and PostgreSQL :) -- Xavi Teo Fonrouge escribió: On 03/06/2009, at 06:11 p.m., Xavi wrote: Teo, ¿Por qué no está en Harbour? Hola Xavi, Si te refieres a porque no esta en el directorio de harbour/contrib, la razon original

Re: [Harbour] A Real-time RDBMS RDD for Harbour Family of Compilers

2009-06-05 Thread Xavi
ould be? 8-) hmm... Ok no marketing with postgres. :) Have a nice day Pritpal! and congratulations on your great work! -- Xavi Sudip Bhattacharyya escribió: Pritpal Bedi wrote: Yep Angel Pais wrote: Not published in their site. So expect a very restrictive and expensive one. Some old mesage

Re: [Harbour] Memory consumption in HBOLE

2009-06-05 Thread Xavi
Randy, Try this .- Procedure Main() ? 'How memory ?' Wait FreeTaskManagerMemory() ? 'And now ?' Wait return #pragma BEGINDUMP #include HB_FUNC( FREETASKMANAGERMEMORY ) { SetProcessWorkingSetSize( GetCurrentProcess(), -1, -1 ); } #pragma ENDDUMP --

Re: [Harbour] Memory consumption in HBOLE

2009-06-05 Thread Xavi
This API seems to release any unused pages from memory. Yes but also the used for this reason must be done carefully for optimal performance. This is one of those cases where is recommended because there will be many unused. -- Xavi Randy Portnoff escribió: Hi Xavi, Yup - That worked

Re: [Harbour] A Real-time RDBMS RDD for Harbour Family of Compilers

2009-06-07 Thread Xavi
and arrays. If you want, I can start a new thread on this topic, ... Thanks but is indifferent to me, is more important what Pritpal want?, IMHO. -- Xavi Sudip Bhattacharyya escribió: Hello Xavi, So... How many times faster than postgres should be? 8-) hmm... Ok no marketing wit

Re: [Harbour] Warning

2009-06-08 Thread Xavi
ed variable `_hb_stack_ptr_' I have the libraries .- libgtqtc.a libhbqt ?...@#... :( Opss... Sure I've left something. Maybe set HB_DIR_PGSQL=c:\pgsql Well, I try again :) -- Xavi Enrico Maria Giordano escribió: Warning W8004 ../../../hvm.c 5680: '_hb_stack_ptr_' is

Re: [Harbour] Warning

2009-06-08 Thread Xavi
Massimo Belgrano escribió: Thanks xavi Please can yoy try if your receive error with follow batch from c:\harbour? -- set path=d:\Qt\2009.01\mingw\bin;%PATH% cd \harbour\contrib\gtwvg\win\mingw gcc -I. -I../../../../include -Wall -W -O3 -fomit-frame-pointer -march=i586

Re: [Harbour] Warning

2009-06-08 Thread Xavi
installation of MinGW. I suspect that the version distributed by Qt is custom. Now I don't remember I had to switch to compile another project. While compiling harbor, I think it. -- Xavi ___ Harbour mailing list Harbour@harbour-project.org

Re: [Harbour] Warning

2009-06-08 Thread Xavi
I have changed dlltols.exe and dllwrap.exe of Qt\2009.01\mingw\bin by the official distro (3.4.5) because it had errors when compiling another project but, sorry now, I don't remember exactly what happened. The truth is that I have some changes. Test the official distro of MinGW. Xavi esc

Re: [Harbour] Warning

2009-06-08 Thread Xavi
\qt\include set HB_CONTRIB_ADDONS=gtqtc Set HB_INC_PGSQL=C:\PgSQL\include set HB_DIR_PGSQL=C:\PgSQL And I have the libraries .- libgtqtc.a libhbqt.a libhbpgsql.a and libsddpg.a Thank you very much. -- Xavi Viktor Szakáts escribió: MinGW distributed with QT is a stripped installation, so I wouldn'

Re: [Harbour] GC and collectible pointers

2009-06-09 Thread Xavi
:= nil; oC := nil HB_GCALL() Wait ... Also change .- METHOD Destroy() CLASS BBB ? "bbb destructor", ValType( ::aaa ) RETURN NIL Sorry, this is just if it can help. I am also confused with this. :) -- Xavi Mindaugas Kavaliauskas escribió: Hi, I have a question/prob

Re: [Harbour] GC and collectible pointers

2009-06-10 Thread Xavi
;bbb destructor", ValType( ::aaa ) RETURN NIL The code prints .- Test3 bbb destructor O bbb destructor A Press any key to continue... OOOps... Is there AAAnything strange? ;) -- Xavi Mindaugas Kavaliauskas escribió: Hi,

Re: [Harbour] Harbour forum tryout

2009-06-15 Thread Xavi
opinión la traducción es buena si consideráis que el resultado se puede entender en vuestro idioma. Así que "postear" el texto en inglés. Hasta donde yo sé siempre podéis duplicar el texto en el idioma original. Por cierto, no sé si siempre es posible en texto plano. :) -- Xavi Viktor Szakáts es

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

2009-06-20 Thread Xavi
OT: Possible conflict in name of variable static s_fInited. Sorry is to not create another thread. When compiling hvmall.c with HB_FM_STATISTICS s_fInited is redefined in fm.c and estack.c I have changed on fm.c s_fInited with s_fInitedFM in my local copy to solve this. -- Xavi

[Harbour] Override C++ operators new, delete to adapt harbour memory management FM.

2009-06-21 Thread Xavi
Now we have a number of contributions in C++ which are outside the control of FM. This means that we have lost the ability to detect memory leaks for example. What do you think about subject? -- Xavi #include "hbapi.h" #ifdef HB_FM_STATISTICS void* operator new(size_t nSize) {

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

2009-06-22 Thread Xavi
this with static compilation of hbqt. I did not tested but I think it could work to know what classes deleted and are not deleted in hbqt. -- Xavi vszak...@users.sourceforge.net escribió: Revision: 11470 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=11470&v

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

2009-06-22 Thread Xavi
C++, IMHO. -- Xavi Viktor Szakáts escribió: I've added HB_BUILD_MODE=yes option for all compilers. You may have a try with mingw. Brgds, Viktor ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/lis

<    1   2   3   >