Re: [Harbour] How to create a dll using hbmk2?

2009-09-28 Thread Jerry Finuliar
Hi Viktor, Still with the same error. Is the program below valid to compile to dll using MS C++ v2008? TIA, Jerry --- #include "hbclass.ch" CREATE CLASS Dbf VAR oDbf METHOD Open() ENDCLASS METHOD Open RETURN self --- > - Original Message - > From: "Viktor Szakáts" > To: "Harbou

Re: [Harbour] How to create a dll using hbmk2?

2009-09-28 Thread Viktor Szakáts
Hi Jerry, D:\MyProjects\dbfdll>hbmk2 -hbdyn classdbf -L"%lib%" -L"%lib% seems wrong. Try with "-L%lib%" or -L%lib%. Brgds, Viktor ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

[Harbour] How to create a dll using hbmk2?

2009-09-28 Thread Jerry Finuliar
Hi, Im trying to create a dll but I got the ff: D:\MyProjects\dbfdll>hbmk2 -hbdyn classdbf -L"%lib%" hbmk2: Processing configuration: c:\harbour\bin\hbmk.cfg Harbour 2.0.0beta3 (Rev. 12621) Copyright (c) 1999-2009, http://www.harbour-project.org/ Compiling 'classdbf.prg'... Lines 757, Functions/P

[Harbour] FWH 6.12 free of cost, legal download

2009-09-28 Thread wang shuming
The FWH 612 version is Dec, 2006 version. The new version is FWH 909, Sep. 2009 version . Shuming Wang ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

Re: [Harbour] hbvpdf.lib with image

2009-09-28 Thread Bruno Luciani
I found it thanks Bruno 2009/9/28 Viktor Szakáts > ok I check that >> >> may be an old directory >> > > No sorry I was wrong, it does exist, although please look > into '/contribs' for contrib libs. 'external' holds different > things, but I'm extremely tired now to explain our dir layout > f

Re: [Harbour] hbvpdf.lib with image

2009-09-28 Thread Bruno Luciani
thanks viktor Bruno 2009/9/28 Viktor Szakáts > ok I check that >> >> may be an old directory >> > > No sorry I was wrong, it does exist, although please look > into '/contribs' for contrib libs. 'external' holds different > things, but I'm extremely tired now to explain our dir layout > from s

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

2009-09-28 Thread vszakats
Revision: 12624 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=12624&view=rev Author: vszakats Date: 2009-09-28 20:51:46 + (Mon, 28 Sep 2009) Log Message: --- 2009-09-28 22:27 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * INSTALL + Added new s

Re: [Harbour] hbvpdf.lib with image

2009-09-28 Thread Viktor Szakáts
ok I check that may be an old directory No sorry I was wrong, it does exist, although please look into '/contribs' for contrib libs. 'external' holds different things, but I'm extremely tired now to explain our dir layout from scratch. Usually a 'grep -R' or 'dir /s' command can give quick an

Re: [Harbour] hbvpdf.lib with image

2009-09-28 Thread Bruno Luciani
ok I check that may be an old directory Bruno 2009/9/28 Viktor Szakáts > I just update it and /harbour/external/libhpdf is ok but /tests not exist >> > > There is no such dir in Harbour. > > /contrib/hbhpdf/tests is the dir for hbhpdf contrib tests. > > > Brgds, > Viktor > >

Re: [Harbour] hbvpdf.lib with image

2009-09-28 Thread Viktor Szakáts
I just update it and /harbour/external/libhpdf is ok but /tests not exist There is no such dir in Harbour. /contrib/hbhpdf/tests is the dir for hbhpdf contrib tests. Brgds, Viktor ___ Harbour mailing list Harbour@harbour-project.org http://lists.h

Re: [Harbour] hbvpdf.lib with image

2009-09-28 Thread Bruno Luciani
I just update it and /harbour/external/libhpdf is ok but /tests not exist Bruno 2009/9/28 Viktor Szakáts > ok exactly I see this movement >> >> I don't find the HBhpdf samples , the test dir not exist in my SVN copy >> > > Your SVN copy is incomplete then. > > Brgds, > Viktor > > > ___

Re: [Harbour] hbvpdf.lib with image

2009-09-28 Thread Viktor Szakáts
ok exactly I see this movement I don't find the HBhpdf samples , the test dir not exist in my SVN copy Your SVN copy is incomplete then. Brgds, Viktor ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/li

Re: [Harbour] hbvpdf.lib with image

2009-09-28 Thread Bruno Luciani
ok exactly I see this movement I don't find the HBhpdf samples , the test dir not exist in my SVN copy Thanks Viktor 2009/9/28 Viktor Szakáts > Viktor , why if lib Haru is preferred you are updating and making samples >> of HBVPDF and not of libhpdf ? >> > > I'm not sure what you mean. I've m

RE: [Harbour] 2 ask on SQL Server in one time.

2009-09-28 Thread Horodyski Marek (PZUZ)
>-Original Message- >From: Mindaugas Kavaliauskas [mailto:dbto...@dbtopas.lt] >Sent: Monday, September 28, 2009 5:28 PM >To: Harbour Project Main Developer List. >Subject: Re: [Harbour] 2 ask on SQL Server in one time. ... >> This happens only in sqlmix. >> It's hard to describe, and pro

Re: [Harbour] hbvpdf.lib with image

2009-09-28 Thread Viktor Szakáts
Viktor , why if lib Haru is preferred you are updating and making samples of HBVPDF and not of libhpdf ? I'm not sure what you mean. I've made some updates to hbvpdf years ago to make it build, but I don't remember creating any samples for it, or updating it. For hbhpdf however, I've added s

Re: [Harbour] hbvpdf.lib with image

2009-09-28 Thread Bruno Luciani
Viktor , why if lib Haru is preferred you are updating and making samples of HBVPDF and not of libhpdf ? Bruno 2009/9/28 Viktor Szakáts > Yes. > > Brgds, > Viktor > > > On 2009 Sep 28, at 18:58, Bruno Luciani wrote: > > Mindaugas LibHPDF is manteined actually ? >> >> Bruno >> >> 2009/9/28 Mi

Re: [Harbour] ViaNemo: more news

2009-09-28 Thread fmancera
Hello Viktor, > Just a minor comment, which striked me: > > SET SINTAX TO ... > should be > SET SYNTAX TO ... Oops!! My fingers are too fast ;-) Fixed. Thank You very much. Best Regards, Fernando Mancera > > Brgds, > Viktor > > On 2009 Sep 28, at 12:54, > wrote: > >> Hello Everybody,

Re: [Harbour] MEMIO - Some Clarifications

2009-09-28 Thread Pritpal Bedi
Hi Mindaugas Kavaliauskas wrote: > > My name is Mindaugas. > Again it slipped my memory. Sorry... > Can you try to make self contained sample by changing real report to > some simple DBAPPEND(), FIELDPUT()? I can not reproduce such bahaviour. > This is exactly I could not do. The produc

Re: [Harbour] FWH 6.12 free of cost, legal download

2009-09-28 Thread Viktor Szakáts
Nice offer. But, unfortunately the installer has a Windows 16-bit stub, which makes it impossible to install it on 64-bit Windows systems. [ I wanted to check whether this FWH works with current Harbour. ] Brgds, Viktor On 2009 Sep 27, at 09:24, Massimo Belgrano wrote: I notice follow news 2

Re: [Harbour] ViaNemo: more news

2009-09-28 Thread Viktor Szakáts
Hi Fernando, Just a minor comment, which striked me: SET SINTAX TO ... should be SET SYNTAX TO ... Brgds, Viktor On 2009 Sep 28, at 12:54, wrote: Hello Everybody, I'm post a new article on http://blog.viaopen.com with list of most frequent questions we received about ViaNEMO. Best Reg

Re: [Harbour] hbvpdf.lib with image

2009-09-28 Thread Bruno Luciani
Thanks Viktor Bruno 2009/9/28 Viktor Szakáts > Pritpal , I am trying to help Jose Miguel with this problem >> >> aparently is not a big beal , only an error appears when he try ti print >> and inexistent image , could you orient us where is teh code to review >> this problem ? >> >> Anyway how

Re: [Harbour] hbvpdf.lib with image

2009-09-28 Thread Viktor Szakáts
Yes. Brgds, Viktor On 2009 Sep 28, at 18:58, Bruno Luciani wrote: Mindaugas LibHPDF is manteined actually ? Bruno 2009/9/28 Mindaugas Kavaliauskas Hi, Anyway how you and other programmers create PDF files ? is there any other library better than HBVPDF ? I use cairo. Regards, Mi

Re: [Harbour] hbvpdf.lib with image

2009-09-28 Thread Viktor Szakáts
Pritpal , I am trying to help Jose Miguel with this problem aparently is not a big beal , only an error appears when he try ti print and inexistent image , could you orient us where is teh code to review this problem ? Anyway how you and other programmers create PDF files ? is there any

Re: [Harbour] hbvpdf.lib with image

2009-09-28 Thread Bruno Luciani
ok thanks Mindaugas Bruno 2009/9/28 Mindaugas Kavaliauskas > Bruno Luciani wrote: > >> Mindaugas LibHPDF is manteined actually ? >> > > > Sorry, I do not know anything about libhpdf. Just answered a question "how > you and other programmers create PDF files". > > > Regards, > Mindaugas >

Re: [Harbour] hbvpdf.lib with image

2009-09-28 Thread Mindaugas Kavaliauskas
Bruno Luciani wrote: Mindaugas LibHPDF is manteined actually ? Sorry, I do not know anything about libhpdf. Just answered a question "how you and other programmers create PDF files". Regards, Mindaugas ___ Harbour mailing list Harbour@harbour-pro

Re: [Harbour] hbvpdf.lib with image

2009-09-28 Thread Bruno Luciani
Mindaugas LibHPDF is manteined actually ? Bruno 2009/9/28 Mindaugas Kavaliauskas > Hi, > > > Anyway how you and other programmers create PDF files ? is there any >> other library >> better than HBVPDF ? >> > > I use cairo. > > > Regards, > Mindaugas > > _

Re: [Harbour] hbvpdf.lib with image

2009-09-28 Thread Mindaugas Kavaliauskas
Hi, Anyway how you and other programmers create PDF files ? is there any other library better than HBVPDF ? I use cairo. Regards, Mindaugas ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/h

Re: [Harbour] hbvpdf.lib with image

2009-09-28 Thread Bruno Luciani
Pritpal , I am trying to help Jose Miguel with this problem aparently is not a big beal , only an error appears when he try ti print and inexistent image , could you orient us where is teh code to review this problem ? Anyway how you and other programmers create PDF files ? is there any other l

Re: [Harbour] 2 ask on SQL Server in one time.

2009-09-28 Thread Mindaugas Kavaliauskas
Hi, Sounds like syntax error. Try to execute this query using some ODBC utility, or try to reduce query to find out a supported syntax. Probably no. This is a serious problem with SQLMIX. For example work : dbUseArea( . Browse() dbCloseAll() But when I use my_old_tBrowse_function() in p

RE: [Harbour] 2 ask on SQL Server in one time.

2009-09-28 Thread Horodyski Marek (PZUZ)
>-Original Message- >From: Mindaugas Kavaliauskas [mailto:dbto...@dbtopas.lt] >Sent: Monday, September 28, 2009 3:32 PM >To: Harbour Project Main Developer List. >Subject: Re: [Harbour] 2 ask on SQL Server in one time. > >Hi, > > >> DBUSEAREA( .T., "SQLMIX", "select * from klient", "KLIENT

Re: [Harbour] MEMIO - Some Clarifications

2009-09-28 Thread Mindaugas Kavaliauskas
Hello, Hello Mindagaus, All My name is Mindaugas. I have finished porting some parts of my appln's report-generation of routines to take advantage of MEMIO instead of disk files and have found the following. One of reports creates a table, say, rpa80025.dbf and associated index, ttt14

Re: [Harbour] 2 ask on SQL Server in one time.

2009-09-28 Thread Mindaugas Kavaliauskas
Hi, DBUSEAREA( .T., "SQLMIX", "select * from klient", "KLIENT") DBUSEAREA( .T., "SQLMIX", "select p.*, nazwa from PRODUKT p, klient k where p.id_klient = k.id_klient and jed = '1234' and system = 1", "KLI_PROD") And have error in second query : oErr:severity_ 2 oErr:osCode___

[Harbour] List moderator

2009-09-28 Thread Randy Portnoff
Hi all, Who is in charge of the mailing list? Thanks, Randy. ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

Re: [Harbour] Type assignment discards qualifiers from pointer target type

2009-09-28 Thread Lorenzo Fiorini
On Mon, Sep 28, 2009 at 1:13 PM, Przemyslaw Czerpak wrote: > Modify the offset range (-1) and revert bits (most significant has offset 0): Many thanks it works like a charm but doing tests I've found that the original bit() SEGFAULTs: Program received signal SIGSEGV, Segmentation fault. [Switch

Re: [Harbour] Type assignment discards qualifiers from pointer target type

2009-09-28 Thread Przemyslaw Czerpak
On Mon, 28 Sep 2009, Lorenzo Fiorini wrote: > Many thanks. > I'm not sure my test is correct but I'm still not getting the same results. Modify the offset range (-1) and revert bits (most significant has offset 0): function bitnew( cValue, nOffset, lSet ) local lResult, nChar, nOff, nBit

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

2009-09-28 Thread druzus
Revision: 12623 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=12623&view=rev Author: druzus Date: 2009-09-28 10:57:53 + (Mon, 28 Sep 2009) Log Message: --- 2009-09-28 12:57 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbnet

Re: [Harbour] Type assignment discards qualifiers from pointer target type

2009-09-28 Thread Lorenzo Fiorini
On Mon, Sep 28, 2009 at 12:43 PM, Przemyslaw Czerpak wrote: > Not tested, just written: > >   func BIT( cValue, nOffset, lSet ) >      local lResult, nChar > ... Many thanks. I'm not sure my test is correct but I'm still not getting the same results. best regards, Lorenzo Here is my test code

[Harbour] ViaNemo: more news

2009-09-28 Thread fmancera
Hello Everybody, I'm post a new article on http://blog.viaopen.com with list of most frequent questions we received about ViaNEMO. Best Regards, Fernando Mancera www.viaopen.com ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbou

Re: [Harbour] Type assignment discards qualifiers from pointer target type

2009-09-28 Thread Przemyslaw Czerpak
On Mon, 28 Sep 2009, Lorenzo Fiorini wrote: > Yes this is why I'd like to replace it. > I've tried to replace it with a prg func but the original works on > strings while hb_bit* work on numbers and I'm not sure about the > correct conversion to use. Not tested, just written: func BIT( cValue,

Re: [Harbour] Type assignment discards qualifiers from pointer target type

2009-09-28 Thread Lorenzo Fiorini
On Mon, Sep 28, 2009 at 12:15 PM, Przemyslaw Czerpak wrote: > It has to be rewritten. > This function is buggy. It's illegal in Clipper and in [x]Harbour to > modify string buffer returned by [hb]_parc() function. > Recent modifications helps to locate such buggy code generating > warnings during

Re: [Harbour] Type assignment discards qualifiers from pointer target type

2009-09-28 Thread Przemyslaw Czerpak
On Mon, 28 Sep 2009, Lorenzo Fiorini wrote: > This is an old C function but it's used in a 3rd party lib so I can't > use HB's standard one. > When I build it with 2.0.0beta3 gcc warnings. How can I fix it? It has to be rewritten. This function is buggy. It's illegal in Clipper and in [x]Harbour t

Re: [Harbour] Type assignment discards qualifiers from pointer target type

2009-09-28 Thread Lorenzo Fiorini
On Mon, Sep 28, 2009 at 11:39 AM, Viktor Szakáts wrote: > The warning is easy to silence, the bigger problem > is that this function will modify HVM string directly, > which may cause HVM corruption. Yes this is why I'd like to replace it. I've tried to replace it with a prg func but the origin

Re: [Harbour] Harbour under OS/2 - eCS 12604 -12621

2009-09-28 Thread Viktor Szakáts
Note warning for protmode in harbour.dll Probably caused by PROTMODE keyword. Reading info I used "p" parameter for make.exe which describe a long list of values/operations used in current make proccess. It show a lot of redefinitions The intention was to limit list of libraries included in or

Re: [Harbour] Type assignment discards qualifiers from pointer target type

2009-09-28 Thread Viktor Szakáts
The warning is easy to silence, the bigger problem is that this function will modify HVM string directly, which may cause HVM corruption. It needs to be rewritten to work on a copy of the string. We have the exact same kind of problems waiting to be fixed in examples/gfspell. Brgds, Viktor On

[Harbour] Harbour under OS/2 - eCS 12604 -12621

2009-09-28 Thread David Arturo Macias Corona
Confirmed. The guilty is length of command line Harbour build entirely except harbourm.dll in OMF type with gcc335 and gcc4xx I tried to build with Harbour 12604 and after two days of tests I tried with Harbour 12621 (a fresh new one) with identical results Harbour build report: ---

[Harbour] Type assignment discards qualifiers from pointer target type

2009-09-28 Thread Lorenzo Fiorini
This is an old C function but it's used in a 3rd party lib so I can't use HB's standard one. When I build it with 2.0.0beta3 gcc warnings. How can I fix it? #include #ifdef __HARBOUR__ HB_FUNC( BIT ) #else CLIPPER bit( void ) #endif { char*ptr; unsigned char mask; unsigned

[Harbour] 2 ask on SQL Server in one time.

2009-09-28 Thread Horodyski Marek (PZUZ)
Mindaugas, I try open 2 selects on MSSQL : DBUSEAREA( .T., "SQLMIX", "select * from klient", "KLIENT") DBUSEAREA( .T., "SQLMIX", "select p.*, nazwa from PRODUKT p, klient k where p.id_klient = k.id_klient and jed = '1234' and system = 1", "KLI_PROD") And have error in second query : oErr:severi