[Harbour] hb_xgrab requested to allocate zero bytes

2009-10-08 Thread Mitja Podgornik
Hi, please, can anybody help? This function occasional causes GPF and occurs sporadic only on some xp/vista machines > > >> Application Internal Error ... > >> Terminated at: > >> Info: Harbour MiniGUI 1.7 Extended Edition (Build 74) - 2009.09.30 > >> Unrecoverable error 9023: hb_xgrab req

Re: [Harbour] hb_xgrab requested to allocate zero bytes

2009-10-10 Thread Mitja Podgornik
Przemek, thank You for the explanation and for hack suggestion! Regards, Mitja recv() on error returns -1 not 0. > >> nLen = recv( m_hSocket, pRead, nLen, 0 ); >> hb_storclen( pRead, nLen, 2 ); > > And in such case error appears here

[Harbour] Re: Harbour MySQL errors

2010-02-27 Thread Mitja Podgornik
can't tell what the original author wanted to do here, but I can clean it to work as before, which means not to return error, but silently do nothing. Brgds, Viktor On Sat, Feb 27, 2010 at 11:28 AM, Mitja Podgornik wrote: Hi, >Victor > >>In Your recent modification of mys

Re: [Harbour] MySQL errors

2010-02-27 Thread Mitja Podgornik
Hi Well, there are legal MySQL commands whitout any returning value like 'USE ' or all 'SET <> <>' commands. Strictly these are not Querries so one solution could be to create new class for these commands. regards, Mitja ----- Original Message Fr

Re: [Harbour] mysql patch submitted on Tracker

2009-02-04 Thread Mitja Podgornik
Not quite... Note this change in fieldget function: ... if ::FieldType(nNum) == "C" - return PadR(::aRow[nNum], ::aFieldStruct[nNum][MYSQL_FS_LENGTH]) + return PadR(::aRow[nNum], ::aFieldStruct[nNum][MYSQL_FS_MAXLEN]) ... Now the method returns exact character value as stored in MySQL table.

[Harbour] Max number of open files in WIN XP/Vista/2000 environment

2009-02-10 Thread Mitja Podgornik
How Harbour handles that? Where can I increase "default" value (if exists) Is this harbour related or OS related? regards, Mitja ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

[Harbour] Install error: _HB_FUN_HB_SYMBOL_UNUSED

2009-03-03 Thread Mitja Podgornik
When running make_gnu install on xp/bcc32 platform the make aborts at: mingw32-make.exe[3]: Entering directory `D:/Harbour/utils/hbtest/win/bcc' bcc32.exe -4 -O2 -OS -Ov -Oi -Oc -q -d -Q -w -w-sig- -tWM -ehbtest.exe ... ... Error: Unresolved external '_HB_FUN_HB_SYMBOL_UNUSED' referenced from D

[Harbour] _HB_FUN_HB_SYMBOL_UNUSED unresolved external

2009-03-04 Thread Mitja Podgornik
No change, the error persists. When running 'make_gnu install' on xp/bcc32 platform the make aborts at: mingw32-make.exe[3]: Entering directory `D:/Harbour/utils/hbtest/win/bcc' bcc32.exe -4 -O2 -OS -Ov -Oi -Oc -q -d -Q -w -w-sig- -tWM -ehbtest.exe ... ... Error: Unresolved external '_HB_FUN_HB