Re: Res: [Harbour] MinGW dllcall function not run.

2010-02-07 Thread Xavi
Hi, ... I wonder if it's possible to fix this function to not be sensitive on this setting. Any idea? Yes, of course. ??? :) I can fix this without ASM, but a bad use of these functions always cause GPF. -- Xavi El 06/02/2010 18:37, Viktor Szakáts escribió: Hi Xavi, Very good point. I

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

2010-02-07 Thread Viktor Szakáts
Hi Przemek and All, > I think the first thing should be to define our existing "char" types: > > HB_UCHAR > HB_SCHAR > HB_WCHAR > HB_BYTE / BYTE > char > USHORT I'm having a try to collect what we know about char/byte types: - HB_UCHAR: Similar to HB_BYTE. Was introduced to avoid signedness pro

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

2010-02-07 Thread vszakats
Revision: 13806 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13806&view=rev Author: vszakats Date: 2010-02-08 01:18:46 + (Mon, 08 Feb 2010) Log Message: --- 2010-02-07 02:02 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/pp/ppcore.c * src/v

Re: [Harbour] mysql test sample either compile in LINUX

2010-02-07 Thread Bruno Luciani
Library was created without problems HBMysql , but hbm file name it as libmysql I think thats an error or need another library that i don't know which is Bruno 2010/2/7 Massimo Belgrano > I don't know because i have lost my ubuntu virtual machine > when you start make it display > ! Component

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

2010-02-07 Thread Viktor Szakáts
Peeking into the header, there wasn't too much done to this piece of software in the last 6 years... Three new APIs, one new constant and no header portability bugs fixed. What a waste... I wish Harbour had the MACH6 engine. Brgds, Viktor On 2010 Feb 7, at 22:36, vszak...@users.sourceforge.ne

Re: [Harbour] Debugging c code

2010-02-07 Thread April White
Przemek, I want to confirm something. I'm not yet using the new code you wrote, so bear with me here. If I allocate memory using hb_xgrab_fm() as you suggested before and then call p1 = hb_itemNew(p2) if I do not release p1 the line reported by FM statistics appears to be where hb_xgrab_fm() i

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

2010-02-07 Thread vszakats
Revision: 13805 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13805&view=rev Author: vszakats Date: 2010-02-07 21:36:26 + (Sun, 07 Feb 2010) Log Message: --- 2010-02-07 22:34 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * bin/hb-mkimp.bat + Ad

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

2010-02-07 Thread vszakats
Revision: 13804 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13804&view=rev Author: vszakats Date: 2010-02-07 20:22:34 + (Sun, 07 Feb 2010) Log Message: --- 2010-02-07 21:21 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * include/clipdefs.h +

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

2010-02-07 Thread vszakats
Revision: 13803 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13803&view=rev Author: vszakats Date: 2010-02-07 18:03:00 + (Sun, 07 Feb 2010) Log Message: --- 2010-02-07 19:02 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/vm/classes.c * src/

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

2010-02-07 Thread vszakats
Revision: 13802 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13802&view=rev Author: vszakats Date: 2010-02-07 17:47:39 + (Sun, 07 Feb 2010) Log Message: --- 2010-02-07 18:36 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * include/hbdefs.h + Ch

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

2010-02-07 Thread vouchcac
Revision: 13801 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13801&view=rev Author: vouchcac Date: 2010-02-07 17:01:05 + (Sun, 07 Feb 2010) Log Message: --- 2010-02-07 08:56 UTC-0800 Pritpal Bedi (prit...@vouchcac.com) * contrib/hbqt/hbqt_hbqplaint

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

2010-02-07 Thread Enrico Maria Giordano
-Messaggio Originale- Da: "Viktor Szakáts" A: "Harbour Project Main Developer List." Data invio: domenica 7 febbraio 2010 16.23 Oggetto: Re: [Harbour] SF.net SVN: harbour-project:[13796] trunk/harbour Thank you, it's a typo, just remove 'char' from return type until I commit the fi

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

2010-02-07 Thread vszakats
Revision: 13800 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13800&view=rev Author: vszakats Date: 2010-02-07 16:10:56 + (Sun, 07 Feb 2010) Log Message: --- 2010-02-07 17:10 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/vm/hvm.c * src/rdd/

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

2010-02-07 Thread vouchcac
Revision: 13799 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13799&view=rev Author: vouchcac Date: 2010-02-07 15:56:14 + (Sun, 07 Feb 2010) Log Message: --- 2010-02-07 07:46 UTC-0800 Pritpal Bedi (prit...@vouchcac.com) * contrib/hbqt/hbqt_hbqplaint

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

2010-02-07 Thread vszakats
Revision: 13798 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13798&view=rev Author: vszakats Date: 2010-02-07 15:54:35 + (Sun, 07 Feb 2010) Log Message: --- 2010-02-07 16:54 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/rtl/gtwvt/gtwvt.c *

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

2010-02-07 Thread Viktor Szakáts
> On Sun, 07 Feb 2010, vszak...@users.sourceforge.net wrote: > > Hi, > >> 2010-02-07 16:03 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) >> * include/hbdefs.h >>! New Harbour types moved upper in the file to avoid >> errors reported on the list. >>- Deleted HB_I8 and HB_U8 types. P

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

2010-02-07 Thread Przemysław Czerpak
On Sun, 07 Feb 2010, vszak...@users.sourceforge.net wrote: Hi, > 2010-02-07 16:03 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) > * include/hbdefs.h > ! New Harbour types moved upper in the file to avoid > errors reported on the list. > - Deleted HB_I8 and HB_U8 types. Practice s

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

2010-02-07 Thread Przemysław Czerpak
On Sun, 07 Feb 2010, vszak...@users.sourceforge.net wrote: Hi, > ; QUESTION: There is one suspiciously looking usage: > ftattr.c / iColor = ( HB_UCHAR ) *pAttrib++; > Is it ok? Yes of course. 'char' is usually signed type so values like 0x80 will be translated

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

2010-02-07 Thread vszakats
Revision: 13797 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13797&view=rev Author: vszakats Date: 2010-02-07 15:37:24 + (Sun, 07 Feb 2010) Log Message: --- 2010-02-07 16:34 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/rtl/cdpapi.c ! Fi

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

2010-02-07 Thread Viktor Szakáts
Thank you, it's a typo, just remove 'char' from return type until I commit the fix. Brgds, Viktor On 2010 Feb 7, at 16:14, Enrico Maria Giordano wrote: > > -Messaggio Originale- Da: > A: > Data invio: domenica 7 febbraio 2010 16.03 > Oggetto: [Harbour] SF.net SVN: harbour-project:[13

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

2010-02-07 Thread Enrico Maria Giordano
-Messaggio Originale- Da: A: Data invio: domenica 7 febbraio 2010 16.03 Oggetto: [Harbour] SF.net SVN: harbour-project:[13796] trunk/harbour Thank you. Now I get: Error E2176 ../../../cdpapi.c 1047: Too many types in declaration EMG -- EMAG Software Homepage: http://www.emagso

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

2010-02-07 Thread vszakats
Revision: 13796 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13796&view=rev Author: vszakats Date: 2010-02-07 15:03:51 + (Sun, 07 Feb 2010) Log Message: --- 2010-02-07 16:03 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * include/hbdefs.h ! Ne

[Harbour] Errors in latest SVN

2010-02-07 Thread Vailton Renato
After revision 13795 with clean build I get this: win-make.exe[3]: `../../../../../lib/win/mingw/libsqlite3.a' is up to date. 1 arquivo(s) copiado(s). gcc -I. -I../../../../../include -O3 -fomit-frame-pointer -march=i586 -mtune=p entiumpro -Ic:/harbour/external/zlib -Ic:/harbour/externa

[Harbour] Errors in latest SVN

2010-02-07 Thread Enrico Maria Giordano
Error E2257 ../../../../../include\hbdefs.h 608: , expected Error E2238 ../../../../../include\hbdefs.h 718: Multiple declaration for 'HB_LONGLONG' Error E2344 ../../../../../include\hbdefs.h 608: Earlier declaration of 'HB_LONGLONG' EMG -- EMAG Software Homepage: http://www.emagsoftware.

[Harbour] Type conversion status

2010-02-07 Thread Viktor Szakáts
Hi All, Only about 6000 legacy Windows types are left to be converted to Harbour ones. (started from 33000). What remains: ULONG (non-size), LONG (non-size), USHORT, SHORT, BYTE USHORT, SHORT and BYTE are easily convertible to HB_USHORT, HB_SHORT, HB_BYTE, and we have time to create dedica

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

2010-02-07 Thread vszakats
Revision: 13795 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13795&view=rev Author: vszakats Date: 2010-02-07 14:16:13 + (Sun, 07 Feb 2010) Log Message: --- 2010-02-07 15:15 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/vm/dynsym.c * src/v

Re: [Harbour] mysql test sample either compile in LINUX

2010-02-07 Thread Massimo Belgrano
I don't know because i have lost my ubuntu virtual machine when you start make it display ! Component:mysql?? 2010/2/7 Bruno Luciani : > Is needed in linux ? > > Bruno > > 2010/2/7 Massimo Belgrano >> >> Have you used HB_WITH_MYSQL=/mysql/include >> >> > > -- Massimo Belgrano

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

2010-02-07 Thread vszakats
Revision: 13794 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13794&view=rev Author: vszakats Date: 2010-02-07 13:53:35 + (Sun, 07 Feb 2010) Log Message: --- 2010-02-07 14:53 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/vm/itemapi.c * src/

Re: [Harbour] mysql test sample either compile in LINUX

2010-02-07 Thread Bruno Luciani
Is needed in linux ? Bruno 2010/2/7 Massimo Belgrano > Have you used HB_WITH_MYSQL=/mysql/include > > > 2010/2/7 Bruno Luciani : > > Nobody know how to resolve this ? > > > > Bruno > > > > 2010/2/5 marco bra > >> > >> Same here on Ubuntu 9.10 32 bits. with > >> > >> harbour -build > >> Harbour

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

2010-02-07 Thread vszakats
Revision: 13793 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13793&view=rev Author: vszakats Date: 2010-02-07 13:41:30 + (Sun, 07 Feb 2010) Log Message: --- 2010-02-07 14:40 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbct/strdiff.c

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

2010-02-07 Thread vszakats
Revision: 13792 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13792&view=rev Author: vszakats Date: 2010-02-07 13:19:33 + (Sun, 07 Feb 2010) Log Message: --- 2010-02-07 14:18 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/pp/ppcore.c * src/v

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

2010-02-07 Thread vszakats
Revision: 13791 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13791&view=rev Author: vszakats Date: 2010-02-07 12:58:41 + (Sun, 07 Feb 2010) Log Message: --- 2010-02-07 13:58 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbct/ctchksum.c

Re: [Harbour] Error...SqlMix...

2010-02-07 Thread Ale SB
resolved, I lacked Add a libmysql.lib Thanks Ale SB wrote: > > Harbour Rev. 13777, Mysql 5.1 > > During compilation appears this error: > > sddmy.lib(mysqldd.obj) : error LNK2019: símbolo externo _mysql_cl...@4 sin > resolver al que se hace referencia en la función "unsigned int __cdecl > my

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

2010-02-07 Thread Viktor Szakáts
>> Shouldn't we add a dedicated type for PCODE? like HB_PCODE? > > We use HB_PCODE as enum type (see hbpcode.h). > Anyhow separate type is good idea. Let's find a name. HB_PCODE_T? (not hugely elegant though) Brgds, Viktor ___ Harbour mailing list (at

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

2010-02-07 Thread Przemysław Czerpak
On Sun, 07 Feb 2010, Szak�ts Viktor wrote: Hi, > Shouldn't we add a dedicated type for PCODE? like HB_PCODE? We use HB_PCODE as enum type (see hbpcode.h). Anyhow separate type is good idea. best regards, Przemek ___ Harbour mailing list (attachment si

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

2010-02-07 Thread Przemysław Czerpak
On Sun, 07 Feb 2010, vszak...@users.sourceforge.net wrote: Hi, > 2010-02-07 13:16 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) > * src/vm/fm.c > * src/vm/extrap.c > * src/common/hbarch.c > * src/nortl/nortl.c > * src/rtl/binnum.c > * src/rtl/hbbffnc.c > * src/rtl/hbznet.c > * sr

[Harbour] Error...SqlMix...

2010-02-07 Thread Ale SB
Harbour Rev. 13777, Mysql 5.1 During compilation appears this error: sddmy.lib(mysqldd.obj) : error LNK2019: símbolo externo _mysql_cl...@4 sin resolver al que se hace referencia en la función "unsigned int __cdecl mysqlConnect(struct _SQLDDCONNECTION *,void *)" (?mysqlConnect@@YAIPAU_SQLDDCONNE

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

2010-02-07 Thread vszakats
Revision: 13790 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13790&view=rev Author: vszakats Date: 2010-02-07 12:17:40 + (Sun, 07 Feb 2010) Log Message: --- 2010-02-07 13:16 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/vm/fm.c * src/vm/ex

Re: [Harbour] hb_QWith()/with object inside macro compiler

2010-02-07 Thread Przemysław Czerpak
On Wed, 03 Feb 2010, Maurilio Longo wrote: Hi, > I'd like to see a sample of code which uses with var as well. > Right now, with object enables me to write dynamic html pages via an > interpreter which uses &() to evaluate source code and to hide to this > interpreted code whether it is being run

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

2010-02-07 Thread Viktor Szakáts
Hi, >> 2010-02-06 19:51 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) >> * src/vm/runner.c >>* BYTE -> char > > Now in all places expect runner we are using BYTE for PCODE but in > runner char. Is it possible that you can join such modifications > to make them more consistent? Shouldn't we

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

2010-02-07 Thread druzus
Revision: 13789 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13789&view=rev Author: druzus Date: 2010-02-07 11:18:15 + (Sun, 07 Feb 2010) Log Message: --- 2010-02-07 12:17 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rdd/dbfcd

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

2010-02-07 Thread Viktor Szakáts
> On Sun, 07 Feb 2010, vszak...@users.sourceforge.net wrote: > > Hi, > >> 2010-02-07 10:47 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) >> * src/vm/memvars.c >>* int -> HB_ISIZ where it was used for size > > This is wrong and has to be reverted. > iSize is limited by HB_SYMBOL_NAME_LEN an

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

2010-02-07 Thread Przemysław Czerpak
On Sat, 06 Feb 2010, vszak...@users.sourceforge.net wrote: Hi, > 2010-02-06 19:51 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) > * src/vm/runner.c > * BYTE -> char Now in all places expect runner we are using BYTE for PCODE but in runner char. Is it possible that you can join such modifi

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

2010-02-07 Thread Przemysław Czerpak
On Sun, 07 Feb 2010, vszak...@users.sourceforge.net wrote: Hi, > 2010-02-07 10:47 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) > * src/vm/memvars.c > * int -> HB_ISIZ where it was used for size This is wrong and has to be reverted. iSize is limited by HB_SYMBOL_NAME_LEN and 'int' was use

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

2010-02-07 Thread vszakats
Revision: 13788 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13788&view=rev Author: vszakats Date: 2010-02-07 09:57:50 + (Sun, 07 Feb 2010) Log Message: --- 2010-02-07 10:47 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * include/hbapi.h * src/v

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

2010-02-07 Thread Viktor Szakáts
> Revision: 13787 > > http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13787&view=rev > Author: vszakats > Date: 2010-02-07 00:02:17 + (Sun, 07 Feb 2010) > > Log Message: > --- > > 2010-02-07 01:00 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) > * src/

Re: [Harbour] mysql test sample either compile in LINUX

2010-02-07 Thread Massimo Belgrano
Have you used HB_WITH_MYSQL=/mysql/include 2010/2/7 Bruno Luciani : > Nobody know how to resolve this ? > > Bruno > > 2010/2/5 marco bra >> >> Same here on Ubuntu 9.10 32 bits. with >> >> harbour -build >> Harbour 2.1.0dev (Rev. 13777) >> Copyright (c) 1999-2010, http://www.harbour-project.org/