Re: [Harbour] Alternate line colors for tbrowse

2009-04-25 Thread Szakáts Viktor
We need to find a way to add non Clipper compatible extensions to classes in a clean way. So far my only idea here is to subclass and add extensions there, maybe others have something better in mind. Extending existing classes creates very difficult to detect portability problems, so we should be

Re: [Harbour] Some xhb developers giving no credit when copying work from Harbour

2009-04-25 Thread Szakáts Viktor
Hi Enrico, I'm not surprised, good to see that xhb group so nicely cleared the "accident" theory. If bending the past (aka lying) is needed to get your group (or its upper management's?) ego straight, this is probably a good move. For me it's funny xhb group need to do such thing while using lot

Re: [Harbour] Alternate line colors for tbrowse

2009-04-25 Thread Szakáts Viktor
Exactly what I had in mind. Brgds, Viktor On 2009.04.25., at 23:35, Francesco Saverio Giudice wrote: Why not an hb_Tbrowse class that subclass original class adding extensions ? Best Regards, Francesco Il 25/04/2009 23.08, Szakáts Viktor ha scritto: We need to find a way to add non

Re: [Harbour] Error compiling with + Hwgui Harbour.

2009-04-26 Thread Szakáts Viktor
generating the blat.lib starting the blat.dll thus: \bcc55\bin\impdef.exe blat.def blat.dll lib /def:blat.def Leonardo Machado Szakáts Viktor wrote: Hi Leonardo, hwgui defines a public symbol already defined in hbct. I'd consider this a bug in hwgui, where DELETEFILE() should either be r

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

2009-04-26 Thread Szakáts Viktor
Hi Pritpal, I didn't have time to retest latest changes yet, I'll do it in a few days. For me two important point remains, both are showstoppers: 1) Missing codepage handling 2) Flicker / loss of window focus when doing certain operations. Keeping one of the F buttons pressed in WVTEST will e

Re: [Harbour] Some xhb developers giving no credit when copying work from Harbour

2009-04-26 Thread Szakáts Viktor
Hi Phil, /* Copyright notice: All text in this file holds the copyright of respective authors seen in the entry headers if not indicated otherwise. Copying or other forms of usage is only permitted while giving credit to author including his/her full name, plus the text "Harbour Pr

Re: [Harbour] Error compiling with + Hwgui Harbour.

2009-04-26 Thread Szakáts Viktor
latest version of MSVC is a little outdated, I will rebuild and come back to the results. Leonardo Machado Szakáts Viktor wrote: Hi Leonardo, Did you try building Harbour with HB_BUILD_IMPLIB=yes? This way blat.lib will be generated for you automatically, and hopefully in a usable form. Brg

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

2009-04-27 Thread Szakáts Viktor
Hi Pritpal, 1) Missing codepage handling I do not have any experience with code pages but I can sence y following documentation snippet that it is very much possible. The QTextCodec class provides conversions between text encodings. Probably it would suffice to convert to UTF-8 using our H

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

2009-04-27 Thread Szakáts Viktor
Hi Marcos, This is nice, it creates an additionaly layer to deal with QT resources. What I had in mind is a little bit different; do you think it's possible to use a QT API to set an icon from memory, like this: myicon := hb_memoread( "myicon.png" ) qicon := QIcon( myicon, "mime/png" ) or simil

Re: [Harbour] Linux and sqlite3 setup

2009-04-27 Thread Szakáts Viktor
Hi Lorenzo, What is the suggested way to get sqlite3 working in Linux? I've added it to contribs and externals but it seems not enough. I had to add Linux "detection" in Makefiles. Is there any other way? Normally it should be autodetected, if it's not pls tell it's location, maybe our autod

Re: [Harbour] Error compiling with + Hwgui Harbour.

2009-04-27 Thread Szakáts Viktor
do Machado Szakáts Viktor wrote: Hi Leonardo, Yes, thank you. 'extern "C"' was missing from around this declaration, I'll commit a fix with my next commit. Brgds, Viktor On Mon, Apr 27, 2009 at 6:54 AM, sygecom wrote: Hi Viktor, Excuse the mess. The problem is

Re: [Harbour] Linux and sqlite3 setup

2009-04-27 Thread Szakáts Viktor
Normally it should be autodetected, if it's not pls tell it's location, maybe our autodetection needs a tweak. You can use HB_INC_SQLITE3 envvar to spec header dir manually. Since SQLite is embedded in the app I think it's safe to link the "external" source so we use a known and ( more ) tested

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

2009-04-27 Thread Szakáts Viktor
Perfect. To make this (HB_GTI_ICON or HB_GTI_ICONMEM) more universal, we should add similar support for GTWVT. [ GTXWC doesn't have any support for system icon ATM. ] Dunno if this is supported on Windows, and how, but it'd be useful. [ ideally we should solve the different formats (ICO/PNG) too

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

2009-04-27 Thread Szakáts Viktor
Thanks. I've tried it, but loss of focus is still present. QT not only hides the window, but removes it from the visible window list (or similar) which makes the next available app to become active and receive input for a moment. Quite strange the QT works like this. I've tried cut & paste and mo

Re: [Harbour] Some xhb developers giving no credit when copying work from Harbour

2009-04-28 Thread Szakáts Viktor
e, Apr 28, 2009 at 1:40 AM, Phil Barnett wrote: Szakáts Viktor wrote: Hi Phil, /* Copyright notice: All text in this file holds the copyright of respective authors seen in the entry headers if not indicated otherwise. Copying or other forms of usage is only permitted while giving credit to

Re: [Harbour] uHttpd X hbmk2 issue

2009-04-28 Thread Szakáts Viktor
Hi Vailton, Thanks. Until I commit the fix, please enclose lines 2305-2309 between this IF: IF ! lStopAfterInit .AND. ! lStopAfterHarbour ... ENDIF Brgds, Viktor On 2009.04.28., at 14:58, Vailton Renato wrote: When trying to compile the uhttpd's modules with the new version of SVN, got th

Re: [Harbour] gtwvg x mingw issue

2009-04-29 Thread Szakáts Viktor
You probably use some older MinGW versions, it would be useful to know which one. 4.3.x doesn't have this problem. Anyhow I hope Pritpal can fix this in gtwvg. Brgds, Viktor On 2009.04.29., at 14:54, Vailton Renato wrote: I have obtained the following error when compiling the Harbour (latest v

Re: [Harbour] Re: [xHarbour-developers] 2009-05-04 10:25 UTC+0100 Miguel Angel Marchuet

2009-05-05 Thread Szakáts Viktor
Miguel, If you feel you didn't get credit, it's no justification to not give credit for others for years. If you feel like someone used your work without giving credit, just simply report it, everyone on this list will happily correct such mistake if it really was one. In Harbour we always like t

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

2009-05-05 Thread Szakáts Viktor
Okay I see your points. I'll rethink the process. For me reordering occured for hbmk2.prg which is a one file project, I'm not sure what I'm doing wrong, but it was completely changed after doing a merge with -m. It's also visible in my committed diff. One other problem is that i18n/*.pot option

Re: [Harbour] Re: Re: contrib blat Fail

2009-05-06 Thread Szakáts Viktor
If you watch the examples in INSTALL, HB_DIR_* always have to point to the *root dir* of external libs. Maybe I'll make that clear with some additional notes if it's not apparent. IOW, you mustn't add any internal subdirs to these settings. Just set them to the root and Harbour build process will

[Harbour] Re: hbmk2 .po generation real life testing - speed issue

2009-05-06 Thread Szakáts Viktor
One thing I did is to do only one merge per build, as opposed to one for each language, but that still leaves it quite slow, especially in incremental mode. Brgds, Viktor On 2009.05.06., at 19:12, Viktor Szakáts wrote: Hi Przemek, I'm testing .po generation in hbmk2. This project has more tha

Re: [Harbour] hbmk2 .po generation real life testing - speed issue

2009-05-07 Thread Szakáts Viktor
See my above thoughs. Do you think it's possible to do the 'reverse' logic I was referring to? To put it simply, I'd like to be able to update my full .po (containing translation) with one simple .pot file. In this mode only new strings should be added. In another (full-sync) mode, which can

Re: [Harbour] Error with DumpVar

2009-05-07 Thread Szakáts Viktor
Hi Rossine, I will fix one of these errors, but for the rest AFAIK we don't support them in Harbour as they are dealing with internals on the user/app level. Maybe someone can help with the Harbour alternatives (debug functions?), or by modifying this function to at least build under Harbour wit

Re: [Harbour] hbmk2: any features still missing?

2009-05-12 Thread Szakáts Viktor
Hi Pritpal, Hi All, Is there any important feature still missing from hbmk2? Macro parser in .PRG and .C | .CPP files. In batch file: SET MySourceFolder=c:\dev_sources\vouch In .HBM ${MySourceFolder}\vouch.prg I think you should just let go this idea of storing any absolute paths in an .h

Re: [Harbour] hbmk2: any features still missing?

2009-05-12 Thread Szakáts Viktor
In this latter comments may cite as an example file. HBM with the following lines: -GC3 -ES2 -w main.prg test.prg !copy main.exe c:\soft\demo\main.exe !del main.exe But think well ... Wich the commands what should be executed in several situations? Such as: * If an error occurs, which command

Re: [Harbour] hbmk2: any features still missing?

2009-05-12 Thread Szakáts Viktor
Hi Petr, Not a successful build that's for sure :) Remember that one hbmk2 call can only have one target, one call == one project. .hbm files are scripts you can embeded, any number of them, but they should result in *one* final valid command line. What you want to do is probably: hbmk2 test.h

Re: [Harbour] hbmk2: any features still missing?

2009-05-12 Thread Szakáts Viktor
Nested projects. I mean if .hbm includes another .hbm it should treat it as a nested another project contrary to current implementation where another .hbm becomes a part of the current. May be .hbm implementation be kept as is and a new extension is introduced, say .hbprj and if encountered, rep

Re: [Harbour] Errors with 11032

2009-05-13 Thread Szakáts Viktor
Hi Rossine, Thanks for your report. I suggest to keep using the older revision until these incompatibilities with certain 3rd parties get resolved in one way or another. We will probably have to introduce some compatibility calls to satisfy these tools until they adapt to our changes. We should

[Harbour] Harbour nomination for sf.net best project/best dev tool

2009-05-13 Thread Szakáts Viktor
Hi Vailton, Would you please add this little icon to our webpage: http://sourceforge.net/community/cca09/nominate/?project_name=Harbour&project_url=http://www.harbour-project.org/ ">http://sourceforge.net/images/cca/cca_nominate.png"; border="0"/> [ If someone has any objection, please spea

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

2009-05-14 Thread Szakáts Viktor
Hi Przemek, I can revert it although IMO we should rather think about a proper alternative, these options were missing from default builds since last year and no one reported them missing, which suggest it isn't that important. I've since removed all HB_EXTENSION from code, so readding this one

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

2009-05-14 Thread Szakáts Viktor
On Thu, 14 May 2009, Szak�ts Viktor wrote: I made some test with recent hbmk2 and it stop to automatically add [n]curses, slang and x11 libraries in link phase. I'll try to make some tests, but it'd help if you'd post your hbmk.cfg cmdline and -trace output. I've found the reason. Because I

Re: [Harbour] Problem with return of LoadLibrary and Harbour 11047

2009-05-14 Thread Szakáts Viktor
Try change it: IF Empty (hLib) ---> IF Valtype(hLib) <> "P" if hLib <= 32 ---> IF Valtype(hLib) <> "P" I'm not sure this would work. 'P' type is returned even in case of error, but its content is NULL. To solve this specific and similar cases, I've added WIN_P2N() function, so such code can

Re: [Fwd: Re: [Harbour] Problem with return of LoadLibrary and Harbour 11047]

2009-05-14 Thread Szakáts Viktor
In my code in cases like this I return NIL instead of NULL pointer. This is better for future compatibility, if we are going to change to collectible pointers in the future. Since the value of the collectible pointer will not be NULL. My vote goes to returning same type for both e

Re: [Harbour] Error(2) BASE/1301 Object destructor failure: Reference to freed block

2009-05-16 Thread Szakáts Viktor
Thanks Przemek. I'll keep an open eye, my C code is now really bare bones (and only 100K) and reviewed to death, but maybe there's something in it still. Will try to collect more info and review along your suggestions. Brgds, Viktor On 2009.05.11., at 20:52, Przemyslaw Czerpak wrote: On Mon, 1

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

2009-05-16 Thread Szakáts Viktor
Hi Przemek, 2009-05-14 19:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh * respect HB_USER_LIBS creating hbmk.cfg Is this for sure what you intented? I'm asking because this way someone building Harbour while having HB_USER_LIBS set (which may contain any

Re: [Harbour] Harbour nomination for sf.net best project/best dev tool

2009-05-16 Thread Szakáts Viktor
AFAIU all projects entered it, it probably goes down on getting enough votes / nominations. I received a mail from sf.net and "nominated" it in Best Project and Best Dev Util / Tool. Brgds, Viktor On 2009.05.14., at 18:25, Vailton Renato wrote: Would you please add this little icon to our web

Re: [Harbour] HRB problem with inherited classes

2009-05-16 Thread Szakáts Viktor
With unload an interesting question is what happens in this scenario: 1. Load HRB1 overloading existing function: HELLO 2. Load HRB2 overloading existing function: HELLO 3. Unload HRB1 4. ? Which version of HELLO will now execute? 5. Unload HRB2 6. ? Which version of HELLO will now execute? I su

Re: [Harbour] Errors with 11032

2009-05-17 Thread Szakáts Viktor
I've moved new ole to hbwin, because otherwise we will very very slowly adapt to it, since very few users would test it. Not exactly. It just broke all the linking process itself, simply unusable to test either. You still didn't post what error you're getting. First you wrote that you cannot

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

2009-05-18 Thread Szakáts Viktor
Hi Przemek, 2009-05-15 09:21 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * include/hbextern.ch * source/rtl/Makefile + source/rtl/lang.c + Added HB_USERLANG() function to retrieve ietf code of language set by user. Works also on Windows. In this code and also in other places you

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

2009-05-18 Thread Szakáts Viktor
an internal distro with some extra bundled libs. HB_USER_LIBS is used as default library list by hb* scripts. I wanted to use the same name. We can change of course but it should be synced with envvar name used by hb* scripts. To have the same end-result without such side-effect, maybe readi

Re: [Harbour] $ operator

2009-05-18 Thread Szakáts Viktor
I was looking at letodb and there was some use of the the $ operator to search in arrays. However, this would crash in Harbour. Is there any good *technical* reason not to implement this in Harbour? It's use with arrays certainly feels intuitive. It's a hidden extension very difficult to tr

Re: [Harbour] Extensions - possible cleanup?

2009-05-18 Thread Szakáts Viktor
The problem is we already use .hbl for compiled language files, so I cannot make above change. How about .hblib? No requirements that extensions be 3 chars, it's more just a habit. Not just a habit, Harbour (and of course hbmk2) also supports DOS, and potentially other such limited OSes/file

Re: [Harbour] Extensions - possible cleanup?

2009-05-19 Thread Szakáts Viktor
Not just a habit, Harbour (and of course hbmk2) also supports DOS, and potentially other such limited OSes/filesystems where LFN isn't available. So in Harbour core we stick to 8.3 names. Perhaps it is time to drop support for those limits. I cannot imagine them pertaining to any development e

Re: [Harbour] Warning

2009-05-19 Thread Szakáts Viktor
I guess it comes from BCC, but I can't reproduce it with my installed versions. Anyhow it should be reported to sqlite3 developers for a fix, it won't cause any harm for Harbour. Brgds, Viktor On 2009.05.19., at 19:22, Enrico Maria Giordano wrote: Warning W8080 ../../sqlite3.c 105501: 'sqlite3o

Re: [Harbour] Re: Unrecoverable error 1010: hb_cdxIndexPageRead: Read index page failed.

2009-05-20 Thread Szakáts Viktor
I agree it'd be better. I'd vote for an RTE to not complicate things with developing another override interface for internal errors, we already have one for RTEs. Brgds, Viktor On 2009.05.20., at 12:37, Alexander S.Kresin wrote: Hi All, Application Internal Error - C:\letodb\bin\letodb.exe T

Re: [Harbour] How can create a library with hbmk2?

2009-05-20 Thread Szakáts Viktor
Does this also work? hbmk2 @myprglist.txt -hblib -omylib.lib Yes, it works. I used this: hbmk2 @abraxas.hbp -b -m -hblib -oAbraxasMinGW One minor correction to this cmdline, just to not make ppl mislead by it: @scriptfile parameter always requires a file using .hbm format, so the .hbp extensio

Re: [Harbour] How create sdd*.lib during harbour compilation?

2009-05-20 Thread Szakáts Viktor
Where found odbc dir/HB_INC_ODBC for mingw,msvc8? This envvar isn't needed for Windows systems. Doesn't? No, because sql*.h are present in usually one of the compiler's include dir (next to windows.h), which is by default on the include dir list. I never had to use it with any compilers I t

Re: [Harbour] How can create a library with hbmk2?

2009-05-20 Thread Szakáts Viktor
I'll fix it, it gets confused about uppercase .PRG when double checking the extension to workaround DIRECTORY() bug. Brgds, Viktor On 2009.05.20., at 19:12, Guillermo Varona Silupú wrote: Viktor Szakáts escribió: Sorry I cannot reproduce this problem. Pls check if you have .prg in your dir an

Re: [Harbour] How create sdd*.lib during harbour compilation?

2009-05-20 Thread Szakáts Viktor
Where found odbc dir/HB_INC_ODBC for mingw,msvc8? This envvar isn't needed for Windows systems. Brgds, Viktor ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

Re: [Harbour] How create sdd*.lib during harbour compilation?

2009-05-20 Thread Szakáts Viktor
set HB_DIR_MYSQL=/C/Program Files/MySQL/MySQL Server 5.1 set HB_INC_MYSQL=/C/Program Files/MySQL/MySQL Server 5.1/include but i not have ssdmysql.lib created only sddodbc.lib You probably still didn't read INSTALL. First, above kind of MinGW usage is now obsolete and not recommended, secondly th

Re: [Harbour] Upper\Lower nationals chars.

2009-05-21 Thread Szakáts Viktor
Probably you're mixing libs built with different compilers, or you have an incomplete Harbour build maybe. Here it works ok. Brgds, Viktor On 2009.05.21., at 8:55, Horodyski Marek (PZUZ) wrote: I don't can compile : hbmk2 gtchars from tests folder. I have this error list : Error! E2028: hb

Re: [Harbour] How can create a library with hbmk2?

2009-05-21 Thread Szakáts Viktor
Thanks. I did some more tests and even 'dir' command works like this, and common things like file open dialog, so I'm not really sure what Exactly. It has to if I'm right and the above DIR behavior confirms that I'm. For each file with extension longer then 3 characters Windows create alias

Re: [Harbour] Source code formatter

2009-05-22 Thread Szakáts Viktor
for a long time I used Click to format prgs, but last time I get some problems with it and became to look for something other. The only one I've found is xMate, but it isn't convenient for me, because it doesn't include formatter as a standalone utility and to format a file, I need to cre

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

2009-05-22 Thread Szakáts Viktor
c:/WINDOWS/make -C sqlite3 install _HB_BLD=yes make[2]: Entering directory `C:/msys/1.0/harbour/external/sqlite3' make[3]: Entering directory `C:/msys/1.0/harbour/external/sqlite3/ wce/mingwarm' arm-wince-mingw32ce-gcc -I. -I../../../../include -O2 -fomit-frame- pointer -D_WIN32_WCE -c ../../

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

2009-05-22 Thread Szakáts Viktor
Probably Viktor can write more about using hbmk2 for cross compilation. I haven't tried to use it for such job in Linux yet and still use hb* scripts for cross compilation. I've posted such command lines a few times on this list. In unified binary build it's enough to do this: > hbmk2 ../test

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

2009-05-22 Thread Szakáts Viktor
hbmk2 ../tests/hello.prg -comp=mingwarm Same command will work if Windows hbmk2.exe is copied into a mingwarm build bin dir. Nothing else is needed. There are other combinations, but this is the simplest method. AFAIK neither of the above methods works in Linux. That's true. How should I us

Re: [Harbour] Re: Error trying to compile harbour with bcc55

2009-05-22 Thread Szakáts Viktor
This is good (and the recommended) practice, but by itself it just makes it *more likely* the right make program will be picked by Harbour build process. If the different make versions are properly sorted out from the environment (meaning there are no other such programs in the PATH or current dir

Re: [Harbour] where get last version of minigui

2009-05-22 Thread Szakáts Viktor
where get last version of minigui For windows platform, I search a version good for recompile harbour and hbqt Is usable follow version of tragon.net? tragon.net not required msys? http://tdragon.net/recentgcc/ Bundled Installer: [tdm-mingw-1.905.0-4.4.0-2.exe] (26.0 MB) Includes C and C++ SJLJ

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

2009-05-22 Thread Szakáts Viktor
Looks that the library list contains: -lgttrm -lgtxwc -lgtcrs -lgtsln which do not exist in Windows builds. I've found that -lgtxwc -lgtcrs -lgtsln are added by: libdynhas=gtxwc libdynhas=gtcrs libdynhas=gtsln in hbmk.cfg from native hbmk2 build. I think that hbmk2 should ignore any sett

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

2009-05-23 Thread Szakáts Viktor
Log Message: --- 2009-05-23 11:13 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh * reduce the scope of default options in hbmk.cfg to given platform and compiler {arch&comp}. Viktor please verify it. Thank you. Two observations: comp= doesn't accep

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

2009-05-23 Thread Szakáts Viktor
The next thing is setting HB_INSTALL_PREFIX. Autodetection works until I'll do not use -comp=mingwarm switch, If I set it then I have message: hbmk: Error: HB_INSTALL_PREFIX not set, failed to autodetect It's caused by .exe extension when hbmk2 looks for harbour binaries. Can you resolve it?, f.

Re: [Harbour] Updated: www.harbour-project.org & some ideias...

2009-05-24 Thread Szakáts Viktor
Hi Vailton, Updated the main page of the project with a link into the right side and also in the news section. Here in Brazil I made the call in many programming forums for all support our project in the voting link on our page. Thank you very much. I would like take this opportunity to comm

Re: [Harbour] Printing Problem

2009-05-25 Thread Szakáts Viktor
Hi Sudip, It's part of Harbour, so simply get Harbour and build it. Brgds, Viktor On 2009.05.25., at 5:12, Sudip Bhattacharyya wrote: Hello Massimo Belgrano, Thanks a lot. How can I get hbmake2 ? Regards. Sudip -- View this message in context: http://www.nabble.com/Printing-Problem-tp2

Re: [Harbour] Printing Problem

2009-05-25 Thread Szakáts Viktor
You have a few choices, I suggest to go to our sf.net page (also linked from harbour-project.org) and look for Code / SVN menu. If you downloaded the source, look into INSTALL doc for more. Brgds, Viktor On 2009.05.25., at 5:09, Sudip Bhattacharyya wrote: Hello Xavi, Thank you for your inte

Re: [Harbour] Printing Problem

2009-05-25 Thread Szakáts Viktor
I downloaded harbour source and compiled. But didn't find hbwin library. But I found this library within C:\harbour_dev\harbour\bcc\lib, but here I can't find hbw32.lib. But I find hbw32lib in harbour. I copied a sample (and the library) from there and test win32prn with Harbour-dev. It runs

Re: [Harbour] error with 11127

2009-05-25 Thread Szakáts Viktor
Hi Rossine, There is no command line parameter called "gt=". You should use 'hbmk2 ... -gtgui' [ gt= is accepted though in .hbl files. ] Brgds, Viktor On 2009.05.25., at 14:15, Rossine wrote: Hello, The parameter "GT=" was changed? What should I do to change correct this error? [ERROR] hb

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

2009-05-26 Thread Szakáts Viktor
You are right ! Thanks a lot to You and to Victor for your support! Now 'wcecon.exe' is running on my palmtop. Good news. You're welcome. One question only : is any chance build library 'SuperLib' (originally for clipper) for Harbour - Wince when i have all *.prg, *.asm and *.c files for this

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

2009-05-26 Thread Szakáts Viktor
Here is an initial port of Superlib to Harbour: http://www.syenar.hu/harbour/hbsuper.zip [ unzip to contrib and build it the usual way ] .asm stuff isn't ported, .c stuff was, few compilation error fixed due to no 10 chars limit in Harbour, few extensions and include filenames made lowercase. T

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

2009-05-26 Thread Szakáts Viktor
Hi Jaroslaw, One more thing, I've reuploaded the .zip with an .hbm included so that it's really simply to build it outside our source repository for any platforms using hbmk2. Here's an even simpler hbsuper.hbm version: --- -hblib -ohbsuper -inc -q0 -w1 -es2 -gc0 -l *.c *.prg --- It's pretty mu

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

2009-05-26 Thread Szakáts Viktor
Hi Pritpal, Viktor Szakáts wrote: Here is an initial port of Superlib to Harbour: Recently I had ported Superlib for one of old projects and did the same type of changes you are pointing out. I personally is not a user of this library so cannot comment on its in-depth analysis. Probbaly yo

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

2009-05-26 Thread Szakáts Viktor
Or, we may also contact the author for permission or ask for re-licensing it. Also beyond my capacity, but someone interested could try doing it. I have a distant recollection that someone asked this and pissed him off mightily. :) Thanks for this info, well, in this case I'll let the .zip f

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

2009-05-26 Thread Szakáts Viktor
Well, no biggy it was only one such occurrence. I'll fix it in next commit. The other thing is that __XAXREGISTERHANDLER should be __AXREGISTERHANDLER(). Plus I think we should drop __AXGETCONTROL() if we have WIN_AXATLGETCONTROL(). Brgds, Viktor On 2009.05.26., at 17:13, Szakáts V

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

2009-05-26 Thread Szakáts Viktor
Hi Pritpal, May I ask to use real pointers instead of numeric ones in hbwin? I've been trying to clean the code from such usage and IMO for new code we should definitely use the good practice only. We have WIN_N2P() for conversion if some programs need to pass numeric pointers. This way the prob

Re: [Harbour] GCC 4.4.0 warnings (only in GTWVG)

2009-05-26 Thread Szakáts Viktor
../../wvgsink.c: In function 'HB_FUN_HB_AX_SETUPCONNECTIONPOINT': ../../wvgsink.c:516: warning: dereferencing pointer 'hSink.33' does break strict-aliasing rules Have no idea how to cast it. I hope we can fix it, because this line isn't safe. Is it need at all? ../../wvgsink.c:546: note: in

Re: [Harbour] gcc 4.4.0 warnings

2009-05-26 Thread Szakáts Viktor
Hi Przemek, With GCC 4.4.0 the binaries got a bit larger when using HB_STRICT_ALIGNMENT, but also measurably faster. Built with 'hbmk2 speedtst.prg' (default -gc0) HB_STRICT_ALIGNMENT: 38.25/39.11, 38.42/39.08 default: 43.39/44.03, 43.47/44.03 Brgds, Viktor On 2009.05.27., at 1:13

Re: [Harbour] PrintFileRaw

2009-05-27 Thread Szakáts Viktor
Hi Itamar, It works here. Are you sure the printer name is a valid one? Brgds, Viktor On 2009.05.27., at 12:56, Itamar Lins wrote: Hi! This part of my code is working, but returns this error. nRet := PrintFileRaw(cPrint,cArq,'Pedido') //return -2 but run ok :-( if nRet < 1 cMsg := 'Erro I

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

2009-05-27 Thread Szakáts Viktor
My question is whether to rename__AXGETCONTROL() to WIN_AXATLGETCONTROL() ? Is this such a function which users will want to (and can safely) use in their final apps? If the return value is an obscure one, useful only for AX extensions dealing with internals, I think we should keep the internal na

[Harbour] hbmk2 new extensions

2009-05-27 Thread Szakáts Viktor
Hi All, After a few days in SVN and actual usage (throwing out every stuff related to old make systems), I have to say I don't like the new extensions, so I'll revert them to original state in the next few days, unless there is some convincing input not to do so. .hbl is too limiting. After all,

Re: [Harbour] gcc 4.4.0 warnings

2009-05-27 Thread Szakáts Viktor
Test conditions: - SVN 11150 - WinXP SP2 - default build + -DHB_FM_STATISTICS_OFF -DHB_FM_STATISTICS_OFF is the default now. - speedtest.exe BCC MinGW 4.4.0 Test execution69.58 / 73.9057.77 / 59.98 speedtst.exe size622592 1090648 (903680 stripped

Re: [Harbour] gcc 4.4.0 warnings

2009-05-27 Thread Szakáts Viktor
I did an attempt with HB_USER_CFLAGS=-DHB_ALLOC_ALIGNMENT=8, but couldn't replicate the slightly better results with HB_STRICT_ALIGNMENT (I've rerun this one too to be sure). Results were similar to default build. No idea what could be the explanation, maybe my CFLAGS were not properly interprete

Re: [Harbour] hbmk2 new extensions

2009-05-27 Thread Szakáts Viktor
My two cents for convincing you IMO is right having P for Project instead Parameter sound very good Hbp for traditional project file and hbl,(hbc,hbx) for Library and other Common eXternal parameter I imvite other harobour use explain point of view more point on view more better harbour version

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

2009-05-28 Thread Szakáts Viktor
But it was not decided about XBP_* namespace instead WVG_*.? XBP_* namespace was decided for XBase++ visual classes implemented in a separate lib called hbxbp. Brgds, Viktor 2009/5/28 : Revision: 11156 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=11156&view=rev

Re: [Harbour] Re: Unrecoverable error 1010: hb_cdxIndexPageRead: Read index page failed.

2009-05-28 Thread Szakáts Viktor
I also got these errors recently (could be external index corruption), anyway it'd be better to have RTEs here, as users can only see a disappearing app without any error message and they keep using it causing much more trouble (even more logical corruption) than it's necessary. Brgds, Viktor On

Re: [Harbour] Printing Problem

2009-06-02 Thread Szakáts Viktor
Thank you very much. I am now able to run win_prn() :-) You're welcome. But I cannot solve my initial problem with simple Clipper type text printing with DMP (printer halts). Here is a sample for it :- To reduce the problem and sort out Harbour from the equation, you can try saving the out

Re: [Harbour] Printing Problem

2009-06-02 Thread Szakáts Viktor
ut now Harbour in Xp is Win32 and release when you close the print handler. This is the 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 escri

Re: [Harbour] hbwin / win_dll.c - Portable solution?

2009-06-02 Thread Szakáts Viktor
Hi Przemek, Thanks for these ideas, exactly what I wanted to know. For me it's too complicated to convert to actual code (plus I'm not using .dlls), but I hope someone can implement it in a future Harbour version. Brgds, Viktor On 2009.06.02., at 17:30, Przemyslaw Czerpak wrote: On Tue, 02 J

Re: [Harbour] TBrowse rowPos test

2009-06-02 Thread Szakáts Viktor
Thanks, I'll upload it to repo in my next commit. Brgds, Viktor On 2009.06.02., at 17:52, Xavi wrote: Some time ago I did a self-contained sample program for testing the behavior of the browser because I had problems with a sophisticated Clipper program that I was adapted to (x)Harbour. Now

Re: Re[Harbour] ady-to-use Distros - Synchronization

2009-06-03 Thread Szakáts Viktor
Hi Pritpal, I am in the process of synchronizing yours and my distros to the point to make a user comfortable with Harbour. I have few points in to discuss: 1. You allow any folder in the root to place disto files. I need to know in advance what it will be. So is there any chance that th

Re: [Harbour] Re: letodb .hbc file

2009-06-04 Thread Szakáts Viktor
2) Instead of -aa I'd recommend -gui which enables the same switch for BCC, Ok. it works. Now there is another problem, quite strange. Letodb.exe, built with hbmk, gives an error creating dbf, which includes memos, while that one, built with make_b32.bat, creates it normally ( I use the sam

Re: [Harbour] MT - Xbase++ - A Code Snippet

2009-06-05 Thread Szakáts Viktor
For me coffee.prg works prefectly. Nice demo, and thanks to Przemek for making it work with Harbour as is. It works exactly like in xbase++ after: 2009-06-05 06:10 UTC+0200 Przemyslaw Czerpak (druzus/at/ priv.onet.pl) before it was difference in unlocking sync method by :wait() and Pritpal w

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

2009-06-06 Thread Szakáts Viktor
Viktor Szakáts wrote: Great! What is now our coverage of all QT classes? QT has 650+ classes. Impressive amount. But I am picking by virtue of usage in Harbour context. Ultimately I would like to have every class but to begin with only selected one. Right now we have all those classes wh

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

2009-06-07 Thread Szakáts Viktor
SET HB_QT_STATIC=yes SET HB_INC_QT=c:\devl\Qt\2009.02\qt\include set HB_CONTRIB_ADDONS=gtqtc c:\harbour\contrib\hbqt\tests>hbmk2 demoqt -gui -Lc:\devl\Qt \2009.02\qt\lib hbmk: Processing configuration: c:\harbour\mingw\bin\hbmk.cfg hbmk: Processing: hbqt.hbc You build gtqtc and expect to use

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

2009-06-07 Thread Szakáts Viktor
sorry but i don't undestrand set HB_CONTRIB_ADDONS=gtqtc is for add gtqtc to standard contrib lib but i not able compile sample with usual command Sorry, I have no idea what is going wrong in your setup. Set HB_QT_STATIC=yes and start over with a *full build as normal*, I don't know what you're

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

2009-06-07 Thread Szakáts Viktor
SET HB_QT_STATIC=yes SET HB_INC_ADS=c:\devl\acesdk SET HB_BUILD_IMPLIB=yes SET HB_DIR_ADS=c:\devl\acesdk SET HB_INC_QT=c:\devl\Qt\2009.02\qt\include set HB_CONTRIB_ADDONS=gtqtc set HB_DIR_MYSQL=c:\devl\MySQL51 set HB_INC_MYSQL=c:\devl\MySQL51\include SET HB_COMPILER=mingw SET HB_ARCHITECTURE=win S

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

2009-06-07 Thread Szakáts Viktor
You must set HB_INC_QT correctly. How can i do for set HB_INC_QT correctly? SET HB_INC_QT=c:\devl\Qt\2009.02\qt\include follow is my dir Directory di c:\devl\Qt\2009.02\qt\include 28/05/2009 08.11 . 28/05/2009 08.11 .. 28/05/2009 08.14 ActiveQt 28/05/20

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

2009-06-07 Thread Szakáts Viktor
Guys, Few times I see issues here which would better appear on a user list, and I agree that an - active - user list and also "evangelist" work would really do good service for Harbour, but this very thread certainly wasn't among those ones. Just take it easy, I'm sure you've misinterpreted some

Re: [Harbour] hash() in harbour

2009-06-07 Thread Szakáts Viktor
Hi Teo, I tried to do some experiments using a tool called svn2svn, and it committed without asking, and also seemed to work wrongly, so I'll undo that. We have to look for sth else. In the past, I had used svnadmin to acomplish this: First I have to dump the svn repository ( svnadmin dump wx

Re: [Harbour] Release 1.0.0 Final #2

2008-08-08 Thread Szakáts Viktor
Hi Przemek, Just wait for my test results, because we might not need bash at all, if we can get away without echo -n. We are using many extensions in our scripts which may not be present in standard /bin/sh shell. I do not know what is your default shell (BTW what is it?) but for sure I know

Re: [Harbour] Release 1.0.0 Final #2

2008-08-08 Thread Szakáts Viktor
ast from pointer to integer of different size ../../sqlite3/sqlite3.c: In function â__sqlite3WhereBeginâ_t: ../../sqlite3/sqlite3.c:72768: warning: cast to pointer from integer of different size ../../sqlite3/sqlite3.c:72790: warning: cast to pointer from integer of different size Brgds, Vikt

Re: [Harbour] Release 1.0.0 Final #2

2008-08-08 Thread Szakáts Viktor
Hi Przemek, /usr/bin/../libexec/gcc/darwin/ppc64/as: Flag option -o has already been seen! /usr/bin/../libexec/gcc/darwin/x86_64/as: Flag option -o has already been seen! -- There is one such line for each -arch flag and for each file compiled. I'm afraid I cannot help you here. Please mak

  1   2   3   4   5   6   7   8   9   10   >