James Bott wrote:I am running it successfully with xHarbour (ver 1.2.3). I believe this is the latest version and it is from 2013.
The latest version of xHarbour is from three days ago not from 2013.
James Bott wrote:I downloaded it and when I installed it I found that there is only one file in the /bin directory--harbour.exe. The old version had 15 EXEs. Strange.
/* Create file dbf and ntx/ in memory */
function test_memio()
dbcreate( "mem:test.dbf", { { "F1", "N", 10, 0 }, { "F2", "N", 10, 0 } } )
use "mem:test.dbf" alias memtest
index on field->f2 to "mem:tmp1.ntx" DESCENDING
for i := 1 to 100000
append blank
memtest->f1 := i
memtest->f2 := i * 100
next
go top
browse()
dbDrop( "mem:test.dbf" ) /* Free memory resource */
dbDrop( "mem:tmp1.ntx" ) /* Free memory resource */
return nil
Error DBFNTX/1004 Create error: mem:test.dbf (DOS Error 123)
REQUEST DBFNTX
REQUEST HB_MEMIO
function Main()
rddsetdefault( 'DBFNTX' ) // RDD NTX
test_memio()
return nil
/* Create file dbf and ntx/ in memory */
function test_memio()
dbcreate( "mem:test.dbf", { { "F1", "N", 10, 0 }, { "F2", "N", 10, 0 } } )
use "mem:test.dbf" alias memtest
index on field->f2 to "mem:tmp1.ntx" DESCENDING
for i := 1 to 100000
append blank
memtest->f1 := i
memtest->f2 := i * 100
next
go top
browse()
dbDrop( "mem:test.dbf" ) /* Free memory resource */
dbDrop( "mem:tmp1.ntx" ) /* Free memory resource */
return nil
thefull wrote:I use NTX, and Harbour 3.2 i don't problem.
nageswaragunupudi wrote:HB_MEMIO and "mem:somename.dbf" is new information for me.
Thanks
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot] and 84 guests