Re: [Harbour] LIB hbmysql

2010-03-29 Thread Viktor Szakáts
Hi, Use HB_BUILD_IMPLIB=yes at build time (or hbmk2 -mkimplib anytime) to create working implibs. Brgds, Viktor On 2010 Mar 30, at 02:49, JOEL - YAHOO wrote: > Hi > Please, give me some information. > The LIB hbmysql is available for version 5.0.89? > I'm trying to write a small application wi

[Harbour] UPX for ADS

2010-03-29 Thread Robert Skowronek(o2)
Hi, Is UPX compression (-compr) allowed for ADS applications? In my case compression causes exe file corruption with following error "The application failed to initialize properly (0*c005). Click on Ok to terminate the application" Best regards Robert Skowronek

Re: [Harbour] Ask Str2Poniter() and Pointer2Str() function pair ....

2010-03-29 Thread Viktor Szakáts
> Hello Rossine, > > This functions are for a special need for Shum, and in no way As per Shum he only needs it to make Xbase++ program _link_. So I believe he could just use these simple dummies until the code is fixed properly: FUNCTION String2Pointer() RETURN 0 FUNCTION Pointer2String()

Re: [Harbour] Ghost cursor with GTWVT

2010-03-29 Thread Viktor Szakáts
Hi Xavi, My only comment is that some sort of "setcancel" patch is mixed into your attached patches, which should definitely be deleted. Brgds, Viktor On 2010 Mar 30, at 05:28, Xavi wrote: > Hi all, > > Sometimes GTWVT leaves the previous mark of cursor. Attached picture to > illustrate the

[Harbour] Ghost cursor with GTWVT

2010-03-29 Thread Xavi
Hi all, Sometimes GTWVT leaves the previous mark of cursor. Attached picture to illustrate the issue. This happens because the pre-cursor position not is marked with InvalidateRect (RedrawDiff not find differences) getting knocked out of WM_PAINT. In GTWVG not happen because overwrite PutChar

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

2010-03-29 Thread jarabal
Revision: 14261 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14261&view=rev Author: jarabal Date: 2010-03-30 03:18:17 + (Tue, 30 Mar 2010) Log Message: --- 2010-03-30 05:17 UTC+0200 Xavi (jarabal/at/gmail.com) * harbour/src/rtl/teditor.prg ! Fi

[Harbour] Re: Harbour-made Win9x .EXE's running slow?

2010-03-29 Thread smu johnson
Update: I am running on a hunch, then when you use DEVOUT to print integers to a screen in something like a 1 to 300 count, it is that printing to the screen that is holding everything up... and cl52e is winning this race. I will try to prove it with a hello world example to see if this theory is

Re: [Harbour] Ask Str2Poniter() and Pointer2Str() function pair ....

2010-03-29 Thread Teo Fonrouge
Hello Rossine, This functions are for a special need for Shum, and in no way are required in a normal Harbour programming session. Bellow you'll find a sample that illustrates of what they do. On Mar 29, 2010, at 8:04 AM, Rossine wrote: > > Hi, > > I'm trying to use the function of you and me

[Harbour] LIB hbmysql

2010-03-29 Thread JOEL - YAHOO
Hi Please, give me some information. The LIB hbmysql is available for version 5.0.89? I'm trying to write a small application with MinGW32 and I'm having the carriage return below. Attached the header of imported LIB command -->> "dlltool-D libmysql.dll libmysql.def-d-l-k libmysql.a " /harbou

[Harbour] Re: WVW

2010-03-29 Thread Itamar Lins
Em 29/3/2010 20:30, Bruno Luciani escreveu: This is an only windows library Is that wright ? Bruno Yes. Unfortunately there are many systems done with it. Best regards, Itamar M. Lins Jr. ___ Harbour mailing list (attachment size limit: 40KB) Harbo

Re: [Harbour] Re: WVW

2010-03-29 Thread Bruno Luciani
This is an only windows library Is that wright ? Bruno 2010/3/29 Itamar Lins > Hi! > > The fact is that many people are waiting, changes in xHarbour, which in my > opinion is already a dying project. > Through forums Brazilians can see that only the WVW and RDDSQL xHarbour.com > hold some of B

[Harbour] Re: WVW

2010-03-29 Thread Itamar Lins
Hi! The fact is that many people are waiting, changes in xHarbour, which in my opinion is already a dying project. Through forums Brazilians can see that only the WVW and RDDSQL xHarbour.com hold some of Brazilian users with the xHarbour persists. Because since the departure of Mr Przmek, there

[Harbour] Harbour-made Win9x .EXE's running slow?

2010-03-29 Thread smu johnson
Hi, We have a little benchmarking section in a Clipper program we wrote that gives a percentage of how fast it's running overall. I believe it is doing 500 SIXCDX row creates etc... For Win98 programs, are 32-bit .EXE's compiled with Harbour + TDM Mingw have around 25% on that list, whereas when

Re: [Harbour] Ask Str2Poniter() and Pointer2Str() function pair ....

2010-03-29 Thread Viktor Szakáts
Hi, > I myself would not use on a daily basis something like this, but I do > not know for sure to which particular need it would be useful. It's > just an example and as I mentioned above, I agree with Viktor that > something of this kind is strongly discouraged. In such case it may be better so

Re: [Harbour] Ask Str2Poniter() and Pointer2Str() function pair ....

2010-03-29 Thread Vailton Renato
Hi, I myself would not use on a daily basis something like this, but I do not know for sure to which particular need it would be useful. It's just an example and as I mentioned above, I agree with Viktor that something of this kind is strongly discouraged. Regards, Vailton Renato

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

2010-03-29 Thread vszakats
Revision: 14260 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14260&view=rev Author: vszakats Date: 2010-03-29 20:54:13 + (Mon, 29 Mar 2010) Log Message: --- 2010-03-29 22:53 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * config/os2/gcc.mk + R

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

2010-03-29 Thread druzus
Revision: 14259 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14259&view=rev Author: druzus Date: 2010-03-29 20:43:03 + (Mon, 29 Mar 2010) Log Message: --- 2010-03-29 22:42 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbthr

Re: [Harbour] Ask Str2Poniter() and Pointer2Str() function pair ....

2010-03-29 Thread Przemysław Czerpak
On Mon, 29 Mar 2010, Szak�ts Viktor wrote: Hi, > Looks like we're starting to resemble xhb. I hope not. xHarbour reach the level where core developers have serious problems to control the code and understand/know all hacks inside and all internal dependencies created by direct accessing of HVM s

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

2010-03-29 Thread vszakats
Revision: 14258 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14258&view=rev Author: vszakats Date: 2010-03-29 20:36:08 + (Mon, 29 Mar 2010) Log Message: --- 2010-03-29 22:34 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * utils/hbmk2/hbmk2.prg

Re: [Harbour] 14255 error on build

2010-03-29 Thread Viktor Szakáts
Hi Przemek, * $Id: hbrun.rc 14255 2010-03-28 17:23:00Z vszakats $ */ #if ( defined( OS2 ) || defined( __OS2__ ) || defined( OS_2 ) ) && ! defined( __GNUC__ ) /* os2/watcom */ ICON DISCARDABLE "../../../../../package/harbour.ico" #else ICON1 ICON DISCARD

Re: [Harbour] 14255 error on build

2010-03-29 Thread Przemysław Czerpak
On Mon, 29 Mar 2010, Szak�ts Viktor wrote: Hi, > >> /* > >> * $Id: hbrun.rc 14255 2010-03-28 17:23:00Z vszakats $ > >> */ > >> #if ( defined( OS2 ) || defined( __OS2__ ) || defined( OS_2 ) ) && ! > >> defined( __GNUC__ ) > >> /* os2/watcom */ > >> ICON DISCARDABLE "../../../../../package/ha

Re: [Harbour] Ask Str2Poniter() and Pointer2Str() function pair ....

2010-03-29 Thread Viktor Szakáts
Looks like we're starting to resemble xhb. Brgds, Viktor On 2010 Mar 29, at 21:43, Rossine wrote: > > Hi Vailton, > > Great :) > > Many, many thanks :) > > Rossine. > > > Vailton Renato wrote: >> >> Hi! >> >> To support MT need this: >> >> [GETADDRESS.C] >> #include "hbvmopt.h" >> #incl

Re: [Harbour] Ask Str2Poniter() and Pointer2Str() function pair ....

2010-03-29 Thread Viktor Szakáts
This code uses internals, which it a total no-no, for user code. Brgds, Viktor On 2010 Mar 29, at 21:15, Vailton Renato wrote: > Hi! > > To support MT need this: > > [GETADDRESS.C] > #include "hbvmopt.h" > #include "hbapi.h" > #include "hbapiitm.h" > #include "hbstack.h" > > HB_FUNC( _GETADD

Re: [Harbour] Ask Str2Poniter() and Pointer2Str() function pair ....

2010-03-29 Thread Rossine
Hi Vailton, Great :) Many, many thanks :) Rossine. Vailton Renato wrote: > > Hi! > > To support MT need this: > > [GETADDRESS.C] > #include "hbvmopt.h" > #include "hbapi.h" > #include "hbapiitm.h" > #include "hbstack.h" > > HB_FUNC( _GETADDRESS ) > { >PHB_ITEM pItem = hb_param( 1, H

Re: [Harbour] Ask Str2Poniter() and Pointer2Str() function pair ....

2010-03-29 Thread Vailton Renato
Hi! To support MT need this: [GETADDRESS.C] #include "hbvmopt.h" #include "hbapi.h" #include "hbapiitm.h" #include "hbstack.h" HB_FUNC( _GETADDRESS ) { PHB_ITEM pItem = hb_param( 1, HB_IT_ANY ); PHB_ITEM pResult = hb_itemNew( NULL ); char buffer[ 16 ]; memset( buffer, 0, sizeof( b

Re: [Harbour] Re: WVW

2010-03-29 Thread Viktor Szakáts
>> Keyboard handling uses some strange xhb >> method which don't seem to be present in >> Harbour, but the rest is pretty mechanical >> bugfixing and applying usual cleaning/fixing >> steps we used to have in Harbour-quality code. >> The code is quite large so it needs time if >> someone wants

[Harbour] Re: WVW

2010-03-29 Thread Itamar Lins
Em 29/3/2010 11:36, Viktor Szakáts escreveu: Hi Itamar, If this request was targeted to me, I'm sorry but I cannot help more. Wasted too much time with stuff just for the sake of making Harbour look better. Was too much being the red cross. So, ppl, jump on it and fix it. Hi! I understand you

Re: [Harbour] mingw 4.5.0 benchmarks

2010-03-29 Thread Viktor Szakáts
>> I'm trying to compile the whole Harbour on Core i5 (2 cores + >> hyper-threading, so, 4 virtual CPU are visible to the system). But I >> see no speed improvement of -j4 using: >> win-make.exe -j4 >> Is this correct way to pass -j4 option? I though, that maybe I need > > For me it's enough. I'm

[Harbour] Re: WVW

2010-03-29 Thread Itamar Lins
Em 29/3/2010 12:22, Pritpal Bedi escreveu: Itamar Lins-2 wrote: I understand your situation, the users were the Brazilians who made the fix for the xHarbour 1.2.1. How ill-informed I remained so long. I was under the impression that "they" were "Clipper heads" who fixed but infact they we

Re: [Harbour] Ask Str2Poniter() and Pointer2Str() function pair ....

2010-03-29 Thread Rossine
Hello Vailton, It´s works fine :) Many thank´s, Rossine. Vailton Renato wrote: > > Hi! > > I agree with Viktor that this type of access is not recommended > because it represents a great risk to system stability. But just to > illustrate, if you want to get the memory address of a particula

[Harbour] Re: hbIDE - On-line documentation-cum-distro update

2010-03-29 Thread Pritpal Bedi
francesco perillo wrote: > > can you please spend some time trying to write some documentation on > the internals of the interface to Qt ? > One such document is under topic "hbQT - GC - Qt Object Destruction" at http://hbide.vouch.info/. This is not the best way to express what I wanted but

Re: [Harbour] Re: hbIDE - On-line documentation-cum-distro update

2010-03-29 Thread francesco perillo
Pritpal, can you please spend some time trying to write some documentation on the internals of the interface to Qt ? It would give others a quick start ... Francesco ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org htt

Re: [Harbour] mingw 4.5.0 benchmarks

2010-03-29 Thread Przemysław Czerpak
On Mon, 29 Mar 2010, Mindaugas Kavaliauskas wrote: Hi, > I'm trying to compile the whole Harbour on Core i5 (2 cores + > hyper-threading, so, 4 virtual CPU are visible to the system). But I > see no speed improvement of -j4 using: > win-make.exe -j4 > Is this correct way to pass -j4 option? I t

Re: [Harbour] Re: WVW

2010-03-29 Thread Przemysław Czerpak
On Mon, 29 Mar 2010, Szak�ts Viktor wrote: Hi, > Keyboard handling uses some strange xhb > method which don't seem to be present in > Harbour, but the rest is pretty mechanical > bugfixing and applying usual cleaning/fixing > steps we used to have in Harbour-quality code. > The code is quite

[Harbour] Re: WVW

2010-03-29 Thread Pritpal Bedi
Itamar Lins-2 wrote: > > I understand your situation, the users were the Brazilians who made the > fix for the xHarbour 1.2.1. > How ill-informed I remained so long. I was under the impression that "they" were "Clipper heads" who fixed but infact they were "Brazilians"... -

Re: [Harbour] Ask Str2Poniter() and Pointer2Str() function pair ....

2010-03-29 Thread Vailton Renato
Hi! I agree with Viktor that this type of access is not recommended because it represents a great risk to system stability. But just to illustrate, if you want to get the memory address of a particular variable (I do not see much use in it but ..) this is an example: [TEST.PRG] #include "simpleio

Re: [Harbour] mingw 4.5.0 benchmarks

2010-03-29 Thread Mindaugas Kavaliauskas
Przemysław Czerpak wrote: This option enables simultaneous compilation of different files. It means that it will not change the compilation of single file at all but when many files have to be compiled and -j is passed as GNU make parameter then it creates upto processes and each of them is used

Re: [Harbour] mingw 4.5.0 benchmarks

2010-03-29 Thread Przemysław Czerpak
On Mon, 29 Mar 2010, Mindaugas Kavaliauskas wrote: Hi, > in ChangeLog I found some -j option for parallel compile jobs. > How can it use it? > I'm trying: > win-make.exe -j4 > but I see no compile speed improvement. This option enables simultaneous compilation of different files. It means that

Re: [Harbour] Re: WVW

2010-03-29 Thread Viktor Szakáts
Hi Itamar, >> If this request was targeted to me, I'm sorry >> but I cannot help more. Wasted too much time >> with stuff just for the sake of making Harbour >> look better. Was too much being the red cross. >> >> So, ppl, jump on it and fix it. > Hi! > I understand your situation, the users were

Re: [Harbour] Re: WVW

2010-03-29 Thread Massimo Belgrano
as you seen gtwvw is not in contrib but in examples because have A Rudimentary port C:\harbour\examples\gtwvw seem also Incompatible with hbwin where is updated last gtwvw source in xharbour? I suggest you see as alternative at GTWVG Another way is emulate gtwvw in gtwvt/gtwvg/XWC /gtqtc IMO eith

Re: [Harbour] Ask Str2Poniter() and Pointer2Str() function pair ....

2010-03-29 Thread Viktor Szakáts
> The code does not compile because it contains errors. What is the > purpose of these functions? I really could not understand it. > = ( It's a pretty bad notion from recent days, and I'd still strongly suggest everyone to not use such functions unless the goal is to create random crashes and H

Re: Re: [Harbour] Ask Str2Poniter() and Pointer2Str() function pair ....

2010-03-29 Thread Vailton Renato
Hi! The code does not compile because it contains errors. What is the purpose of these functions? I really could not understand it. = ( [code] FUNCTION Main LOCAL pFunc := ( @Test() ) cls ? Valtype( pFunc ) ? POINTER2STRING( pFunc ) ? RETURN NIL function Test ? "h

[Harbour] Re: WVW

2010-03-29 Thread Itamar Lins
Em 29/3/2010 11:01, Viktor Szakáts escreveu: That's good because maybe from those 100 users, there is a higher chance that someone will be able to fix the problems. If this request was targeted to me, I'm sorry but I cannot help more. Wasted too much time with stuff just for the sake of making H

Re: Re: [Harbour] Ask Str2Poniter() and Pointer2Str() function pair ....

2010-03-29 Thread Rossine
Hi, I'm trying to use the function of you and me errors occur below: [CODE] function Main LOCAL pFunc := ( @Test() ) cls ? Valtype( pFunc ) ? POINTER2STRING( pFunc ) return NIL function Test ? "hello word" return NIL #pragma begindump #include "hbapi.h" HB_F

Re: [Harbour] WVW

2010-03-29 Thread Viktor Szakáts
> Many Brazilians are expecting or have not moved to the harbour because the > wvw is not fully functional in the harbour. > Testing the file wvwtest9 is not possible to open the browse dbf. > More than 100 people waiting likely. That's good because maybe from those 100 users, there is a higher

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

2010-03-29 Thread Maurilio Longo
Viktor, > goto 10. So -o coff is required, but it doesn't work. > > Maybe this should be fixed in the environment?: > windres: can't get BFD_RELOC_RVA relocation type: No such file or directory > Looking for this error on google it seems a problem of windres on certain platforms. > Doesn't lo

Re: [Harbour] mingw 4.5.0 benchmarks

2010-03-29 Thread Mindaugas Kavaliauskas
You can also try to reduce the optimization level, i.e. you can use -Os in MinGW flags. It should reduce the compilation time and final binaries will be slower then the one created by BCC though still faster. I'm trying another approach :) Upgrading from Celeron to Core i5. It should help a lit

[Harbour] WVW

2010-03-29 Thread Itamar Lins
Hi! Many Brazilians are expecting or have not moved to the harbour because the wvw is not fully functional in the harbour. Testing the file wvwtest9 is not possible to open the browse dbf. More than 100 people waiting likely. Best regards, Itamar M. Lins Jr. ___

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

2010-03-29 Thread Viktor Szakáts
> Viktor, > > I was not at latest svn commit, here it is after latest upgrade: > > ! Component: 'openssl' not found. Configure with HB_WITH_OPENSSL. > ! Component: 'gpm' not supported on os2 platform > ! Component: 'slang' not found. Configure with HB_WITH_SLANG. > ! Component: 'curses' not suppo

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

2010-03-29 Thread Maurilio Longo
Viktor, I was not at latest svn commit, here it is after latest upgrade: ! Component: 'openssl' not found. Configure with HB_WITH_OPENSSL. ! Component: 'gpm' not supported on os2 platform ! Component: 'slang' not found. Configure with HB_WITH_SLANG. ! Component: 'curses' not supported on os2 plat

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

2010-03-29 Thread Maurilio Longo
Viktor, I'm not using OMF mode, I'm using .a out mode. Maybe the issue is this. Maurilio. Viktor Szakáts wrote: > Hi, > >> ! HB_COMPILER: gcc >> ! Component: 'zlib' found in E:/REPOSITORY/HARBOUR/external/zlib (local) >> ! Component: 'pcre' found in E:/REPOSITORY/HARBOUR/external/pcre (local)

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

2010-03-29 Thread Viktor Szakáts
Hi, > ! HB_COMPILER: gcc > ! Component: 'zlib' found in E:/REPOSITORY/HARBOUR/external/zlib (local) > ! Component: 'pcre' found in E:/REPOSITORY/HARBOUR/external/pcre (local) > ! Component: 'openssl' not found. Configure with HB_WITH_OPENSSL. > ! Component: 'gpm' not supported on os2 platform > !

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

2010-03-29 Thread Maurilio Longo
Viktor, it doesn't work either: ! HB_COMPILER: gcc ! Component: 'zlib' found in E:/REPOSITORY/HARBOUR/external/zlib (local) ! Component: 'pcre' found in E:/REPOSITORY/HARBOUR/external/pcre (local) ! Component: 'openssl' not found. Configure with HB_WITH_OPENSSL. ! Component: 'gpm' not supported o

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

2010-03-29 Thread vszakats
Revision: 14257 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14257&view=rev Author: vszakats Date: 2010-03-29 11:51:42 + (Mon, 29 Mar 2010) Log Message: --- 2010-03-29 13:50 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * utils/hbmk2/hbmk2.prg *

Re: [Harbour] 14255 error on build

2010-03-29 Thread Viktor Szakáts
>> --- >> /* >> * $Id: hbrun.rc 14255 2010-03-28 17:23:00Z vszakats $ >> */ >> >> #if ( defined( OS2 ) || defined( __OS2__ ) || defined( OS_2 ) ) && ! >> defined( __GNUC__ ) >> /* os2/watcom */ >> ICON DISCARDABLE "../../../../../package/harbour.ico" >> #else >> ICON1 ICON DISCARDABLE "../..

Re: [Harbour] 14255 error on build

2010-03-29 Thread Maurilio Longo
No way: ! Component: 'zlib' found in E:/REPOSITORY/HARBOUR/external/zlib (local) ! Component: 'pcre' found in E:/REPOSITORY/HARBOUR/external/pcre (local) ! Component: 'openssl' not found. Configure with HB_WITH_OPENSSL. ! Component: 'gpm' not supported on os2 platform ! Component: 'slang' not foun

Re: [Harbour] 14255 error on build

2010-03-29 Thread Maurilio Longo
Viktor. > --- > /* > * $Id: hbrun.rc 14255 2010-03-28 17:23:00Z vszakats $ > */ > > #if ( defined( OS2 ) || defined( __OS2__ ) || defined( OS_2 ) ) && ! defined( > __GNUC__ ) > /* os2/watcom */ > ICON DISCARDABLE "../../../../../package/harbour.ico" > #else > ICON1 ICON DISCARDABLE "../.

Re: [Harbour] 14255 error on build

2010-03-29 Thread Maurilio Longo
Viktor, no, same error: (E:\REPOSITORY\HARBOUR\utils\hbrun\obj\os2\gcc)windres -O coff -o hbrun.res ..\..\..\hbrun.rc windres: can't get BFD_RELOC_RVA relocation type: Error 0 Maurilio. Viktor Szakáts wrote: >>> Can you try two things with included .rc file: >>> 1. Does it work with standard w

Re: [Harbour] increase harbour popularity: wiki?

2010-03-29 Thread Viktor Szakáts
Hi, > i'm new to harbour, but even though the project is a great help for me > i find the web presence and especially the documentation not very > complete. my usual way of helping myself is to grep .lib files, the > harbour source code and googling. but this is not a good solution for > the uni

Re: [Harbour] increase harbour popularity: wiki?

2010-03-29 Thread Massimo Belgrano
Now Harbour have with hbide the tool for made documentation HARBOUR SEARCH y ou! I invite to collaborate anyone who is interested in harbour language and is able to make a contribution. We are looking for developer,doc

[Harbour] increase harbour popularity: wiki?

2010-03-29 Thread chris lueders
hi, Saturday, March 27, 2010, 19:45:18, "Viktor Szakáts" wrote: > BTW, by googling it I've found that very few > Xbase++ developers even know about Harbour, > and even those who know totally confuse it with > xHarbour, which is a pretty large mistake to make > for multiple reasons. > Dunno h

Re: [Harbour] 14255 error on build

2010-03-29 Thread Viktor Szakáts
>> Can you try two things with included .rc file: >> 1. Does it work with standard windres command-line? >>windres -O [omf|coff] -o hbrun.res hbrun.rc > > Without -O it works, otherwise I get an error: > > (E:\REPOSITORY\HARBOUR\utils\hbrun\obj\os2\gcc)windres -o hbrun.res > ..\..\..\hbrun.rc

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

2010-03-29 Thread Przemysław Czerpak
On Fri, 26 Mar 2010, Maurilio Longo wrote: Hi, > > Can you check the performance of above functions in some simple loop? > See attached code, it gives these results on my PC when compiled with > gcc -O3 -Wall -o gettid.exe gettid.c > > (E:\harbour\test)gettid > Time _hb_gettid() 688 > Time _gett

[Harbour] Re: How can i Print BMP?

2010-03-29 Thread Massimo Belgrano
Imagemagick wikk read, convert and write images in a 100 formas with interface with same programming language. Anybody know if exist an harbour wrapper for http://www.imagemagick.org/script/index.php Resolved with follow copy function ..Here all seem work fine

Re: [Harbour] 14255 error on build

2010-03-29 Thread Viktor Szakáts
Trying to lessen the mess, can you try this one?: --- /* * $Id: hbrun.rc 14255 2010-03-28 17:23:00Z vszakats $ */ #if ( defined( OS2 ) || defined( __OS2__ ) || defined( OS_2 ) ) && ! defined( __GNUC__ ) /* os2/watcom */ ICON DISCARDABLE "../../../../../package/harbour.ico" #else ICON1 IC

Re: [Harbour] 14255 error on build

2010-03-29 Thread Maurilio Longo
Viktor, Viktor Szakáts wrote: > Can you try two things with included .rc file: > 1. Does it work with standard windres command-line? > windres -O [omf|coff] -o hbrun.res hbrun.rc Without -O it works, otherwise I get an error: (E:\REPOSITORY\HARBOUR\utils\hbrun\obj\os2\gcc)windres -o hbrun.re

Re: [Harbour] 14255 error on build

2010-03-29 Thread Viktor Szakáts
> windres has a different syntax from rc, see attached file which I can compile > with > > (E:\REPOSITORY\HARBOUR\utils\hbrun\obj\os2\gcc)windres -r -DOS2 > ..\..\..\hbrun.rc Can you try two things with included .rc file: 1. Does it work with standard windres command-line? windres -O [omf|c

[Harbour] Re: Ask help for run time error ...

2010-03-29 Thread Shum
Hi All, Solved ! Now... facing other kind of error Shum -- View this message in context: http://n2.nabble.com/Ask-help-for-run-time-error-tp4816267p4816993.html Sent from the harbour-devel mailing list archive at Nabble.com. ___ Harbour mailing lis

Re: [Harbour] 14255 error on build

2010-03-29 Thread Maurilio Longo
Viktor, see this http://www.cygwin.com/cygwin-ug-net/windres.html Maurilio. Maurilio Longo wrote: > Viktor, > > windres has a different syntax from rc, see attached file which I can compile > with > > (E:\REPOSITORY\HARBOUR\utils\hbrun\obj\os2\gcc)windres -r -DOS2 > ..\..\..\hbrun.rc > >

Re: [Harbour] 14255 error on build

2010-03-29 Thread Maurilio Longo
Viktor, windres has a different syntax from rc, see attached file which I can compile with (E:\REPOSITORY\HARBOUR\utils\hbrun\obj\os2\gcc)windres -r -DOS2 ..\..\..\hbrun.rc Output goes to stdout, so you need a -o also. Maurilio. Viktor Szakáts wrote: > Hi, > >> Using RC.EXE I can compile

Re: [Harbour] 14255 error on build

2010-03-29 Thread Viktor Szakáts
Hi, > Using RC.EXE I can compile attached .rc file this way > > > (E:\REPOSITORY\HARBOUR\utils\hbrun\obj\os2\gcc)rc -r -DOS2 ..\..\..\hbrun.rc > Operating System/2 Resource Compiler > Version 4.00.011 Oct 10 2000 > (C) Copyright IBM Corporation 1988-2000 > (C) Copyright Microsoft Corp. 1985-2000

Re: [Harbour] 14255 error on build

2010-03-29 Thread Maurilio Longo
Viktor, Using RC.EXE I can compile attached .rc file this way (E:\REPOSITORY\HARBOUR\utils\hbrun\obj\os2\gcc)rc -r -DOS2 ..\..\..\hbrun.rc Operating System/2 Resource Compiler Version 4.00.011 Oct 10 2000 (C) Copyright IBM Corporation 1988-2000 (C) Copyright Microsoft Corp. 1985-2000 All rights

Re: [Harbour] 14255 error on build

2010-03-29 Thread Maurilio Longo
Viktor, --8<--- Syntax: ICON icon-id [load-option] [ mem-option] [codepage] filename This form of the ICON statement defines an icon resource for an application. An icon resource, typically created by using Icon Editor, is a bit map defining the shape of the icon

Re: [Harbour] 14255 error on build

2010-03-29 Thread Viktor Szakáts
Hi, Pls help finding out what is the proper .rc format to include an icon in OS/2. I copied current logic from hbmk2, but it's possible nobody tried it even there, so it was wrong. (Worth to try with single backslashes first.) Brgds, Viktor On 2010 Mar 29, at 10:15, Maurilio Longo wrote: >

[Harbour] 14255 error on build

2010-03-29 Thread Maurilio Longo
Hi, I get this on OS/2 + GCC ../../../../../bin/os2/gcc/harbour.exe ../../../dbgbrwsr.prg -i../../../../../include -n1 -q0 -w3 -es2 -kmo -i- -l gcc -I. -I../../../../../include -Wall -W -O3 -DHB_LEGACY_TYPES_OFF -odbgbrwsr.o -c dbgbrwsr.c ar-M < __lib__.tmp & strip -S ../../../../../lib/os

[Harbour] Re: hbIDE - On-line documentation-cum-distro update

2010-03-29 Thread Franček Prijatelj
Hi HbQt is a binding of Qt for Harbor. It shares many problems and solutions with other C++ and Qt bindings. There is pyside project (http://www.pyside.org/) , which is a binding for Python. Here is exract from Pyside presentation: (http://www.pyside.org/2010/03/pyside-talk-on-bossa-conference-2

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

2010-03-29 Thread vszakats
Revision: 14256 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14256&view=rev Author: vszakats Date: 2010-03-29 07:54:12 + (Mon, 29 Mar 2010) Log Message: --- 2010-03-29 09:52 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * Makefile - bin/postinst