Re: Re[Harbour] turn of hb_LibLoad()

2010-05-19 Thread Petr Chornyj
Itamar Lins-2 wrote: > > Hi! > > Function TestLoadLib > Local hDll := hb_LibLoad("rmchart.dll") > MsgInfo(ValType(hDll)) > /* > The return is 0 if run ok file "rmchart.dll" exist and 'U' if file does > not exist. > Is this correct? > */ > > Best regards, > Itamar M. Lins Jr. > > Yes, becau

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

2010-03-27 Thread Petr Chornyj
Hi Shum, If I remember correctly, you can find these functions in the library xhb (I mean HB_String2Pointer and HB_Pointer2Str) Regards, Petr -- View this message in context: http://old.nabble.com/Ask-Str2Poniter%28%29-and-Pointer2Str%28%29-function-pair--tp28042446p28053187.html Sent from

[Harbour] About HB_HVM_ALL

2010-03-21 Thread Petr Chornyj
>From the "old" days, I use HB_HVM_ALL = yes to build the binary Harbor. But today I got this result. I'm surprised. It is expected results? 2010.03.21 16:18:55 Windows XP 5.1.2600 Service Pack 3 Harbour 2.1.0dev (Rev. 14203) (MT)+ Microsoft Visual C++ 15.0.30729 (32-bit) x86 THREADS: 2 N_LOOPS:

Re: [Harbour] Corruption detected

2010-02-06 Thread Petr Chornyj
Viktor Szakáts wrote: > > I'd suggest to post more details, like sample .hrb, and > full error message with error code, and retry after full > checkout / rebuild. > Hi, Viktor, please run hbrun and type in prompt something like QUIT or QOUT("Hello") and press Enter Regards, Petr -- View t

[Harbour] Corruption detected

2010-02-06 Thread Petr Chornyj
Hi, All! Please test hbrun I get Could not execute: quit Corruption detected hb_hrbload(0) Harbour 2.1.0dev rev.13783 Regards, Petr -- View this message in context: http://old.nabble.com/Corruption-detected-tp27481882p27481882.html Sent from the Harbour - Dev mailing list archive

[Harbour] Typo's in hbwapi.h

2009-12-19 Thread Petr Chornyj
#define wapi_ret_UINT( n )( hb_parni( n ) ) ? #define wapi_ret_LONG( n )( hb_parnl( n ) ) ? #define wapi_ret_WORD( n )( hb_parnl( n ) ) ? #define wapi_ret_DWORD( n ) ( hb_parnl( n ) ) ? Regards, Petr -- View this message in context: http://old.nab

[Harbour] CallDll GPF

2009-12-18 Thread Petr Chornyj
Hi All hbwin\tests\testdll.prg Application Internal Error - testdll.exe Terminated at: 2009.12.18 17:37:05 Unrecoverable error 6005: Exception error: Exception Code:C005 Exception Address: EAX:0

[Harbour] FPARSELINE from xhb.lib & Application Internal Error

2009-12-09 Thread Petr Chornyj
Hi All PROCEDURE Main() LOCAL cText, aData cText := '"Jones, Mr",Male,"Oklahoma","IL",20041231,"Director, President"' aData := FParseLine( cText ) FOR EACH cText IN aData ? LTrim( Str( HB_EnumIndex() ) ), cText NEXT

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

2009-11-29 Thread Petr Chornyj
Hi Petr Chornyj wrote: > >IF ! oPopCli:OpenDigest() > oPopCli:Quit() > IF ! oPopCli:Open() > cLogin := "Using USER/PASS" > RETURN > ENDIF >ENDIF > Should be IF ! oPopCli:OpenDigest() oPopCli:Qu

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

2009-11-28 Thread Petr Chornyj
petr_ch wrote: > > Revision: 13048 > > http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13048&view=rev > Author: petr_ch > Date: 2009-11-28 20:18:26 + (Sat, 28 Nov 2009) > > Log Message: > --- > 2009-11-28 22:15

Re: [Harbour] about Netio

2009-11-02 Thread Petr Chornyj
Guillermo Varona wrote: > > Menu.o:Menu.c:(.data+0x12e8): undefined reference to `HB_FUN_NETIO' > Can you see a difference between HB_FUN_NETIO and HB_FUN_HB_NETIO? Regards, Petr -- View this message in context: http://old.nabble.com/about-Netio-tp26152196p26157731.html Sent from the Harb

Re: [Harbour] Array access at C level

2009-08-02 Thread Petr Chornyj
Enrico Maria Giordano wrote: > > What is the correct way to implement the following sample in Harbour (it > works fine in Clipper and xHarbour): > > FUNCTION MAIN() > > LOCAL aArray := { "Test 1" } > > ? TEST( aArray ) > > RETURN NIL > > > #pragma BEGINDUMP > > #include "hba

Re: [Harbour] hbmk2 and aflag

2009-07-19 Thread Petr Chornyj
Petr Chornyj wrote: > > How we can pass /P32(64) to tlib - I try with aflag but without success? > Now I found it's works from command line f.e. hbmk2 mybiglib.hbp -aflag=/P32 -trace So it is strange for me, why hbmk, does not support an aflag choice from hbc {bcc}cflags=-c

[Harbour] hbmk2 and aflag

2009-07-19 Thread Petr Chornyj
Hi, Viktor I try to build static library with hbmk2 and bcc. Library was created, but I get this message Warning: library was too large for page size, rebuilt with page size 32 How we can pass /P32(64) to tlib - I try with aflag but without success? Regards, Petr -- View this message in cont

Re: [Harbour] hbtip / HB_FUNC() custom function replacement with core solution

2009-07-07 Thread Petr Chornyj
Viktor Szakáts wrote: > > Is there any way to use some core functions to replace > HB_EXEC() custom C function implemented in hbtip lib? > HB_EXEC( symb ) => symb:exec() //or eval(symb) Regards, Petr -- View this message in context: http://www.nabble.com/hbtip---HB_FUNC%28%29-custom-funct

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

2009-07-01 Thread Petr Chornyj
vszakats wrote: > > 2009-07-01 08:35 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) > * source/rtl/gtwvt/gtwvt.c > > % Cleaned windows style definitions in source. > > Hi Viktor #define _WVT_WS_DEF ( WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_

Re: [Harbour] HWGUI Custom Paper Size

2009-06-30 Thread Petr Chornyj
Sudip Bhattacharyya wrote: > > Hi All Developer of HWGUI, > > Is there any way to set Custom Paper Size for HWGUI printing with HWinPrn > class? So that we can change paper height and width. > Hi, Sudip I think it is not right place for yours question. It's not HWGUI Dev mailing list and f

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

2009-06-24 Thread Petr Chornyj
vszakats wrote: > > * contrib/gtwvg/wvgsink.c > ! Fixed BCC warning after recent change. > (BTW, does anyone know a switch to enable such warning: > "'x' is assigned a value that is never used" with *MinGW* ? > It's annoying that BCC catches it, while other compilers >

Re: [Harbour] Mingw and hb_errInternal()

2009-05-28 Thread Petr Chornyj
Alexander S.Kresin wrote: > > Hi All, > > as I wrote before, I overloaded hb_errInternal() in letodb source > file. Bcc and Linux gcc accepted this normally, but mingw gives error - > multiply definition of hb_errInternal. Is there any way to solve this > problem ? > > Hi, I think you

Re: [Harbour] hbtest result with Pelles C ver. 6.0

2009-05-17 Thread Petr Chornyj
Hi, Przemyslaw Przemyslaw Czerpak-2 wrote: > > Probably as workarond you can change in expropt2.c in function >BOOL hb_compExprReduceEMPTY( HB_EXPR_PTR pSelf, HB_COMP_DECL ) > the code: > case HB_ET_CODEBLOCK: > break; > > to: > case HB_ET_CODEBLOCK: > fResult

[Harbour] hbtest result with Pelles C ver. 6.0

2009-05-17 Thread Petr Chornyj
Harbour Regression Test Suite Copyright (c) 1999-2009, http://www.harbour-project.org/ --- Version: Harbour 1.1.0dev (Rev. 11064) Compiler: Pelles ISO C Compiler 6.0 (32-bit) OS: Windows XP 5.1.2600 Servi

Re: [Harbour] (fwd) Re: hbzlib and NO_GZCOMPRESS

2009-05-14 Thread Petr Chornyj
Przemyslaw Czerpak-2 wrote: > > > If you use zlib compiled with this macro then it does not contain > any functions used for compression like gzwrite() or gzflush() so > you cannot even link final binaries if code use such functions. > Do you want to remove HB_GZWRITE()/HB_GZFLUSH()/... from rt

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

2009-05-12 Thread Petr Chornyj
Viktor Szakáts wrote: > > Is there any important feature still missing from hbmk2? > Hi, I don't know is important or not but, please tell my what expected result for this hbmk2 @all.hbm hbmk2 @all2.hbm all.hbm --- test2.hbm test1.hbm test.hbm ---

[Harbour] hbzlib and NO_GZCOMPRESS

2009-05-12 Thread Petr Chornyj
Hi All! It is possible to change our rtl/hbzlib.c to respect a NO_GZCOMPRESS definition (see gzio.c)? And second question: can we add a wrapper for gputc also? Thanks, Petr -- View this message in context: http://www.nabble.com/hbzlib-and-NO_GZCOMPRESS-tp23501245p23501245.html Sent from the H

Re: [Harbour] Ascan for Hash

2009-05-03 Thread Petr Chornyj
Rossine wrote: > > How to use variables with the ascan type hash ()? > Something like [CODE] FUNCTION main() local n, cVar := "Two", hHash := hb_Hash(), aArray hHash := { 1, "One" } hHash := { 2, "Two" } hHash := { 3, "Tree" } ?hb_isHash( hHash ) hHash := { 1 => "One", 2 => "Two" } h

Re: [Harbour] About hbmk2

2009-04-19 Thread Petr Chornyj
Hi Viktor, Viktor Szakáts wrote: > > I have no idea. Please tell if this makes it work, if it does, I'll add > it. > Please, try it simple demo = something.prg = FUNCTION Hello() RETURN "Hello From Dll!!" = = test.prg = DYNAMIC Hello PROCEDUR

Re: [Harbour] About hbmk2

2009-04-19 Thread Petr Chornyj
Hi Viktor, Viktor Szakáts wrote: > > You can use -trace or -traceonly to get the exact commands > and tweak them until it works. Probably hbmaindllp lib is needed > somewhere in the process. > Yes, thanks you hbmk.bat -hbdyn -lhbmaindllp.lib something.prg Possibly hbmk2 must add hbmaindllp.l

[Harbour] About hbmk2

2009-04-19 Thread Petr Chornyj
Maybe I wrong, but it is not work properly hbmk2 -dyn something.prg * hbmk2 -nohbp something.prg - generate error hbmk: Processing configuration: D:\harbour-bin\harbour-msvc8\bin\hbmk.cfg Error F0034 Bad command line option 'no' * Another question hbmk2 -hbdyn somethin

[Harbour] A simple question about a hbtest result

2009-04-13 Thread Petr Chornyj
What is expected result for hbtest. Some days ago I got: Test calls failed 23 but now Test calls failed 24 It is expected? Regards, Petr -- View this message in context: http://www.nabble.com/A-simple-question-about-a-hbtest-result-tp23018793p23018793.html Sent from the Harbo

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

2009-04-13 Thread Petr Chornyj
vszakats wrote: > > Revision: 10838 > > http://harbour-project.svn.sourceforge.net/harbour-project/?rev=10838&view=rev > Author: vszakats > Date: 2009-04-11 20:01:49 + (Sat, 11 Apr 2009) > > Log Message: > --- > 2009-04-11 22:01 UTC+0200 Viktor Szakats (harbour.01 s

Re: [Harbour] hbsqlit3 darwin problem

2009-04-10 Thread Petr Chornyj
Viktor Szakáts wrote: > > Hi All, > Seems we'd need some protection to make it compile with older > sqlite3 versions. If that's not possible we can try enabling the > locally hosted version. > > SQLite version 3.4.0 > Enter ".help" for instructions > sqlite> > --- > > Brgds, > Viktor > > O

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

2009-03-27 Thread Petr Chornyj
vszakats wrote: > > Revision: 10714 > > http://harbour-project.svn.sourceforge.net/harbour-project/?rev=10714&view=rev > Author: vszakats > Date: 2009-03-27 15:40:18 + (Fri, 27 Mar 2009) > > Log Message: > --- > 2009-03-27 16:37 UTC+0100 Viktor Szakats (harbour.01 s

Re: [Harbour] Embedding 3rd party projects

2009-03-25 Thread Petr Chornyj
Viktor Szakáts wrote: > > As a first step I'd just propose to move sqlite3 embedded source tree > into the 3rd dir and lay the foundation for this direction, in this sense > this sence just a cleanup, and later we can think about adding some other > stuff, > if we agree on and if this works out

Re: [Harbour] hbsqlit3 license (Petr)

2009-03-18 Thread Petr Chornyj
Viktor Szakáts wrote: > > Have you considered changing this to GPL + Harbour exception? > Hi Viktor Of course, why not? I fully agree with Harbour exception. So please do it. P.S. In next week I want update hbSQLite to ver. 3.6.11. Regards, Petr -- View this message in context: http://ww

Re: [Harbour] hbsqlit3 license (Petr)

2009-03-18 Thread Petr Chornyj
Viktor Szakáts wrote: > > Have you considered changing this to GPL + Harbour exception? > Hi Viktor Of course, why not? I fully agree with Harbour exception. So please do it. P.S. In next week I want update hbSQLite to ver. 3.6.11. Regards, Petr -- View this message in context: http://ww

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

2009-02-19 Thread Petr Chornyj
vszakats wrote: > > Revision: 10344 > > http://harbour-project.svn.sourceforge.net/harbour-project/?rev=10344&view=rev > Author: vszakats > Date: 2009-02-19 12:46:19 + (Thu, 19 Feb 2009) > > Log Message: > --- > 2009-02-18 13:14 UTC+0100 Viktor Szakats (harbour.01 s

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

2009-02-12 Thread Petr Chornyj
vszakats wrote: > > 2009-02-12 10:57 UTC+0100 Viktor Szakats (harbour.01 syenar hu) > * source/lang/msguawin.c > * source/lang/msgua866.c > * source/lang/msguakoi.c > ! Fixed corrupted equal char in code. > ! Fixed date format. > ! Fixed CP IDs and descriptions in UA866 and UA

Re: [Harbour] Compile tests with OpenWatcom.

2009-01-08 Thread Petr Chornyj
Horodyski Marek (PZUZ) wrote: > > I have all libraries (lib files in folder C:\harbour\lib\w32\owatcom\.). > > Just try add one line in hbmk.bat echo FILE %_HB_PRG_NAME%.obj >> _hb_mk.tmp ==> echo LIBP C:\harbour\lib\w32\owatcom >> _hb_mk.tmp echo LIB hbcpage.lib >> _hb_mk.t

Re: [Harbour] 2008-11-05 03:01 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-11-10 Thread Petr Chornyj
Przemyslaw Czerpak-2 wrote: > > 2008-11-05 03:01 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) > .. > * harbour/contrib/gtwvg/gtwvg.c > * cover LWA_ALPHA usage by #if ( _WIN32_WINNT >= 0x0500 ) > to keep at least compile time compatibility with older systems > > I think is

Re: [Harbour] 2008-10-27 20:06 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-10-27 Thread Petr Chornyj
Many Thanks! Regards, Petr Przemyslaw Czerpak-2 wrote: > > 2008-10-27 20:06 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) > * harbour/source/rtl/setkey.c > ! fixed GPF in HB_SETKEYGET() when bActive block is used > -- View this message in context: http://www.nabble.com/2008-1

[Harbour] tests\setkeys: Application Internal Error

2008-10-27 Thread Petr Chornyj
I'm run tests\setkeys, press F8 and get this: Application Internal Error - E:\harbour-msvc8\tests\setkeys.exe Terminated at: 2008.10.27 20:49:27 Unrecoverable error 6005: Exception error: Exception Code:C005 Exception Address:0040CE55 EAX:00986D0C EBX:004AF138 ECX: ED

Re: [Harbour] Using hashes

2008-10-23 Thread Petr Chornyj
José Luis Capel wrote: > > > hMyHash:MyKey := 'SomeValue' > > Just rebuild Harbour with HB_HASH_MSG_ITEMS macro C_USR=-DHB_HASH_MSG_ITEMS Regards, Petr -- View this message in context: http://www.nabble.com/Using-hashes-tp20127440p20127792.html Sent from the Harbour - Dev mailing list ar

[Harbour] Error: Unresolved external '_hb_stackPop'

2008-10-19 Thread Petr Chornyj
Turbo Incremental Link 5.69 Copyright (c) 1997-2005 Borland Error: Unresolved external '_hb_stackPop' referenced from E:\HARBOUR\OBJ\DLL\B32\HBTEST.OBJ ** error 2 ** deleting bin\b32\hbtest-dll.exe Regards, Petr -- View this message in context: http://www.nabble.com/Error%3A-Unresolved-extern

Re: Re: [Harbour] Inconsistency in DATA Types

2008-10-14 Thread Petr Chornyj
[EMAIL PROTECTED] wrote: > > > BTW I can change empty codeblock datas from nil to {||nil} and eval it > always, instead check it. > > Why you can't check it as if hb_IsBlock( oClass:bDraw ) Eval( oClass:bDraw ) endif Regards, Petr -- View this message in context: http://www.nabble

Re: [Harbour] Yet another memory allocator?

2008-09-30 Thread Petr Chornyj
> It would be good to see MT results Harbour 1.1.0dev (Rev. 9523) (MT), Windows XP 5.1.2600 Service Pack 2 total application time: 62.95 total real time: 64.50 Harbo

[Harbour] Yet another memory allocator?

2008-09-30 Thread Petr Chornyj
By a lucky accident I found http://www.hoard.org/ http://www.hoard.org/ I try test hoard MA with Harbour 1.0.1 and msvc71. Harbour 1.1.0dev (Rev. 9523), Windows XP 5.1.2600 SP2 total application time:39

Re: [Harbour] 2008-09-26 19:34 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-09-26 Thread Petr Chornyj
Also with mingw 4.3.2 I get ../../genc.c: In function 'hb_p_pushlonglong': ../../genc.c:1585: warning: format '%I64i' expects type 'int', but argument 3 has type 'long long int' ../../gencc.c: In function 'hb_p_pushlonglong': ../../gencc.c:1239: warning: format '%I64i' expects type 'int', but ar

Re: [Harbour] 2008-09-26 19:34 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-09-26 Thread Petr Chornyj
Przemyslaw Czerpak-2 wrote: > > + added assembler inline macros for TLS access in BCC and MinGW32 > They are enabled when Harbour is compiled with -DHB_NO_TLS. > Please check the speed difference. > Very well - ~20 seconds it's noticeable Harbour 1.1.0dev (Rev. 9509) (MT), W

Re: [Harbour] mingw results and Windows compiler roundup

2008-09-25 Thread Petr Chornyj
Szakáts Viktor wrote: > > > Question, what to do with sqlite3.c. > > Brgds, > Viktor > > I thinks authors of sqlite know this bug #if defined(SQLITE_TEST) || defined(SQLITE_DEBUG) || defined(SQLITE_MEMDEBUG) /* ** A version of printf() that understands %lld. Used for debugging. ** The p

Re: [Harbour] mingw results and Windows compiler roundup

2008-09-25 Thread Petr Chornyj
Szakáts Viktor wrote: > >> Gives me: >> TEST NUMBER = [705032704] > #include #include int main( void ) { printf( "TEST NUMER = [%lld]\n",50LL ); printf( "TEST NUMER = [%I64u]\n", 50LL ); return 0; } http://www.nabble.com/long-l

Re: [Harbour] [SPAM] Re: [SPAM] harbour 1.1 ( ChangeLog 9453 2008-09-20 03:37:41Z druzus ) + bcc (551 or 582).

2008-09-22 Thread Petr Chornyj
Hi Viktor, > SET HB_MT=mt > .. > but HB_USER_LIBS=cw32mt.lib (or cp32mt, or cw32mti) will do for everyone. I agree. What about SET HB_MT=mt and hbvm%MT%? Regards, Petr -- View this message in context: http://www.nabble.com/harbour-1.1-%28-ChangeLog-9453-2008-09-20-03%3A37%3A41Z-druzus

Re: [Harbour] RDD controversy question for all people

2008-09-22 Thread Petr Chornyj
Miguel Angel Marchuet wrote: > > > NOW I want opinion of other people, please. > > It interestingly for me Regards, Petr -- View this message in context: http://www.nabble.com/RDD-controversy-question-for-all-people-tp19602998p19604315.html Sent from the Harbour - Dev mailing list archiv

Re: [Harbour] [SPAM] Re: [SPAM] harbour 1.1 ( ChangeLog 9453 2008-09-20 03:37:41Z druzus ) + bcc (551 or 582).

2008-09-22 Thread Petr Chornyj
Przemyslaw Czerpak-2 wrote: > > On Sun, 21 Sep 2008, Przemyslaw Czerpak wrote: > > I think that I know what could be a problem: > regular expressions library. > Thank you! For linking test application I use standard bld.bat from BIN directory. >From bld.bat harbour 1.0.1 bcc32 -O2 -d %CFL

Re: [Harbour] [SPAM] harbour 1.1 ( ChangeLog 9453 2008-09-20 03:37:41Z druzus ) + bcc (551 or 582).

2008-09-21 Thread Petr Chornyj
Przemyslaw Czerpak-2 wrote: > > On Sun, 21 Sep 2008, Petr Chornyj wrote: > > It works perfectly for me. > > What compiler you use? I rebuild harbour from scratch with bcc 582 and got again .T. .F. Error: missing MAIN section in test.ini I try it with msvc 71, OpenWatcom

[Harbour] harbour 1.1 ( ChangeLog 9453 2008-09-20 03:37:41Z druzus ) + bcc (551 or 582).

2008-09-21 Thread Petr Chornyj
/* = */ #include "common.ch" FUNCTION _AppMain( ... ) // IF ! CheckCfg( "test.ini" ) RETURN -1 ENDIF ? "Ok" RETURN 0 /* = */ FUNCTION Che

[Harbour] Warning W8065 .\hbcurl.c 602: Call to function 'hb_free' with no prototype

2008-07-04 Thread Petr Chornyj
MAKE Version 5.2 Copyright (c) 1987, 2000 Borland bcc32.exe -c -q -d -w -w-sig- -O2 -I..\..\include -I"e:\curl\include" -o..\..\obj\b32\hbcurl.obj .\hbcurl.c .\hbcurl.c: Warning W8065 .\hbcurl.c 602: Call to function 'hb_free' with no prototype in function HB_FUN_CURL_EASY_RECV Rega

Re: Re: [Harbour] RC2 anything pending?

2008-07-02 Thread Petr Chornyj
Szakáts Viktor wrote: > > >> b) A long list of warnings >> Seem to be related to sqlite >> Look below for "B portion" catched from screen > > Yes, unfortunately foreign code throws lots of > warnings. > > >From SQLite FAQ (17) I get hundreds of compiler warnings when I compile SQLite. Is

Re: [Harbour] Errore irrecuperabile 9024

2008-06-26 Thread Petr Chornyj
Paolo Russignan wrote: > > > as we must change the code you sent? > Another question: where can I find documentation and examples of > hbhpdf? > > Paolo, we must change not hb_xrealloc, we must change yours own code. I do not know what library you use with pdfcreator, but I think a proble

Re: [Harbour] [SPAM] Method ClassName:MethodName( ... )

2008-06-26 Thread Petr Chornyj
Pritpal Bedi wrote: > > <<< >#xcommand METHOD : => ; > METHOD CLASS > > If you find it useful then we can add it to our hbclass.ch > > Please do it. It is extremely useful. > For what extremely? IMHO it's "sugar" and if we want to add this to hbclass.ch we must use

Re: [Harbour] Errore irrecuperabile 9024

2008-06-25 Thread Petr Chornyj
Paolo Russignan wrote: > > I can not understand where the error occurs and above all I can send the > program. > Hi Paolo, please see source fm.c HB_EXPORT void * hb_xrealloc( void * pMem, ULONG ulSize ) /* reallocates memory */ { HB_TRACE_FM(HB_TR_DEBUG, ("hb_xrealloc(%p, %lu)", p

RE: [Harbour] dllcall.c - Was: gtwvt font best setup

2008-06-09 Thread Petr Chornyj
Mike Evans (Gmail) wrote: > > Have in mind also that Frax (Fastreport) have also a cross platform report > designer. I don't know if it's possible to port frax to linux also. > Why you say Frax ( FastReport for Alaska xBase ) not FRH ( FastReport for Harbour )? Q: Is there Fastreport for Lin

Re: [Harbour] 2008-06-08 08:57 UTC+0800 Pritpal Bedi ([EMAIL PROTECTED]

2008-06-08 Thread Petr Chornyj
Pritpal Bedi wrote: > > > >> Can you solve it that if users resize with one of the corners, >> the resize tries to keep the original proportions? > > At the moment I have no clue, but constantly on lookups. > > Try it with WM_ENTERSIZEMOVE, WM_EXITSIZEMOVE Regards, Petr -- View this m

Re: [Harbour] SQLite 2/3

2008-06-04 Thread Petr Chornyj
Szakáts Viktor wrote: > > > So, if you have an sf.net ID, I'd gladly add > you to the developer list. > > Hi Viktor, my sf.net ID is petr_ch Regards Petr -- View this message in context: http://www.nabble.com/SQLite-2-3-tp17585333p17647976.html Sent from the Harbour - Dev mailing li

Re: [Harbour] SQLite 2/3

2008-06-01 Thread Petr Chornyj
Szakáts Viktor wrote: > > > I got GPFs however when trying sqlite3_test, > so some things might not be perfect yet. > > Hi, Viktor In hbsqlit3.c pls replace #include "sqlite3ext.h" SQLITE_EXTENSION_INIT1 //SQLITE_EXTENSION_INIT2(v) => #include "sqlite3.h" //SQLITE_EXTENSION_INIT1 //SQ

Re: [Harbour] SQLite 2/3

2008-06-01 Thread Petr Chornyj
Szakáts Viktor wrote: > > > I got GPFs however when trying sqlite3_test, > so some things might not be perfect yet. > > Hi, Viktor In hbsqlit3.c pls replace #include "sqlite3ext.h" SQLITE_EXTENSION_INIT1 //SQLITE_EXTENSION_INIT2(v) => #include "sqlite3.h" //SQLITE_EXTENSION_INIT1 //SQ

Re: [Harbour] have harbour support for SQLite?

2008-05-31 Thread Petr Chornyj
Szakáts Viktor wrote: > > > Do you have any objections or opinions to include yours > in Harbour contrib? > > No objections :) Regards, Petr -- View this message in context: http://www.nabble.com/have-harbour-support-for-SQLite--tp17571692p17577844.html Sent from the Harbour - Dev mai

Re: [Harbour] have harbour support for SQLite?

2008-05-31 Thread Petr Chornyj
Guillermo Varona wrote: > > > I was looking for what Alexander Garate, very interesting, but rather > outdated, is based on the version 2.8.6, as I said earlier, it would be > nice to have it within the contrib to see if anyone is encouraged. > > http://www.nabble.com/Re%3AExperiences-wi

Re: [Harbour] Unrecoverable error 9022: Memory buffer overflow

2008-05-27 Thread Petr Chornyj
Szakáts Viktor wrote: > > > The problem is that bgd.dll is compiled using MSVC with stdcall, > so name mangling is underscore + func name + @ + params size > in bytes. Unfortunately BCC is not able to create the same kind > of name decoration however I tried. (I just can hope the BCC stdcall >

[Harbour] Unrecoverable error 9022: Memory buffer overflow

2008-05-25 Thread Petr Chornyj
WinXP SP2 BCC 5.5.1 E:\Harbour\contrib\hbclipsm\tests>testdate.exe Unrecoverable error 9022: Memory buffer overflow Called from TEST(15) Also I can't test any sample from contrib\hbgd\tests Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland gdtest.c: Turbo Incremental Link 5.00 Copyri

Re: [Harbour] CHANGELOG: 2008-05-18 19:09 UTC+0100 Viktor Szakats (harbour.01 syenar hu)

2008-05-18 Thread Petr Chornyj
Szakáts Viktor wrote: > > 2008-05-18 19:09 UTC+0100 Viktor Szakats (harbour.01 syenar hu) >* contrib/hbhpdf/tests/harupdf.prg > ! "\" -> hb_OSPathSeparator(). > -- > Viktor, maybe we can get more universal solution, if we will use hb_fsNameConv ? f.e. #include "hbapifs.h" HB_FUNC

Re: [Harbour] 2008-05-17 18:45 UTC+0800 Pritpal Bedi ([EMAIL PROTECTED])

2008-05-18 Thread Petr Chornyj
Szakáts Viktor wrote: > > > One thing I've noticed is that the demo program actually > GPFs 3-4 times before exiting, and the output .pdf is not > created, so something is hiding in there still. > > Hi Victor, please, test it HB_FUNC( HPDF_PAGE_GETCURRENTPOS ) { /* HPDF_Point pt; PHB

Re: [Harbour] Collectible pointers

2008-02-02 Thread Petr Chornyj
Mindaugas Kavaliauskas wrote: > > Hi, > > > I expect pointer not to be collected, because it "lives" in variable h. > What's wrong with my code? > > > Best regards, > Mindaugas > > > PROC main() > LOCAL h >h := myfunc( h ) >debug( "1" ) >h := myfunc( h ) >debug( "2" ) >

Re: [Harbour] Experiences with sqlite?

2008-01-15 Thread Petr Chornyj
Maurilio Longo wrote: > > > I find them 'ugly' and slow to write and writing them this way forces me > to do > an explicit association between variable names and sql query sentence. > > I'd like something like this :) > > local a,b,c > > text into csql > select * from @a where @c = @b >

Re: [Harbour] Experiences with sqlite?

2008-01-14 Thread Petr Chornyj
Maurilio Longo wrote: > > But, :some_var could be a problem because it is the way in which you > reference > a method property inside a with object clause. > > So, maybe, we could end up with a different prefix which is then > translated in > the .c low level interface. > > I mean > > with o

Re: [Harbour] Experiences with sqlite?

2008-01-14 Thread Petr Chornyj
Maurilio Longo wrote: > > > I think it would be better, if possible, to have a single call to which we > pass all the variables needed for a query and which does the binding, > something like > > text into csql >insert into t1( name, age) values( :name, :age ) > endtext > > (here the col

Re: [Harbour] Experiences with sqlite?

2008-01-14 Thread Petr Chornyj
Lorenzo Fiorini-2 wrote: > > > There is a wrapper for Harbour at > http://www.geocities.com/SiliconValley/Board/5300/sqlite/hbsqlite_en.htm > but it's not updated. > > Maybe you can see and other solution: SQLite3 for xHarbour(*mdy:2007.10.19) version 3.5.1 http://www4.zzz.com.tw/phpbb2/vi

Re: [Harbour] 2008-01-11 18:01 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-01-12 Thread Petr Chornyj
Przemyslaw Czerpak-2 wrote: > > .. >> I feel my letter is more like brainstorming before a sleep than a letter >> of the ideas I really want to see implemented. Usage of >> hb_stackReturnItem() is more fast than making a copy of item. In many >> cases hb_stackReturnItem() is OK. Maybe we can

Re: [Harbour] Interesting Xmate proposal

2008-01-09 Thread Petr Chornyj
Massimo Belgrano wrote: > > Maurizio la Cecilia have write on xmate newsgroup at > http://tech.groups.yahoo.com/group/xmate_users/message/1921 > .. > Andy will think to release on > SourceForge or a similar group the source of xMate. > .. > I think it fine idea, xMate is good product, but wit

Re: [Harbour] 2007-11-30 20:25 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl)

2008-01-06 Thread Petr Chornyj
Marek Paliwoda wrote: > > 2007-11-30 20:25 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) >* harbour/include/hbstack.h > * Removed HB_EXPORT from hb_stackReturnItem() >and hb_stackSelfItem() > > What a reason to do this? I look in last stable version this function (hb_sta

Re: [Harbour] NULL prg pointer

2007-12-05 Thread Petr Chornyj
Mindaugas Kavaliauskas wrote: > > Hi, > > one more question. I'm changing Win32 API handlers and memory pointers > from numeric to pointer type. How can I assign empty pointer to variable? > F.e. I'm use this code LOCAL dc := _GetDC( hwnd) If hb_IsPointer( dc ) .. dc := NIL endif

Re: RE: [Harbour] lib rename proposal (2nd round)

2007-12-03 Thread Petr Chornyj
Przemyslaw Czerpak-2 wrote: > > On Mon, 03 Dec 2007, Mike Evans (Gmail) wrote: > BTW I'm interesting in variable visibility between threads in xbase++. > I would like to see if we can easy replicate similar behavior. If yes > then maybe we should not reinvent the wheel because it will be easier