Saulius Zrelskis wrote:
One small thing. Example below produces hb_out.log file:

Application Internal Error - D:\ERROR\test.exe
Terminated at: 2009.09.23 10:17:04
Unrecoverable error 9008: hb_xrealloc called with an invalid pointer
------------------------------------------------------------------------

while File I/O only message:
Error DBFNTX/1021  Data width error: F1

--<--
PROC main()
  FIELD F1

 DBCREATE("mem:test", {{"F1", "N", 5, 0}},, .T., "test")
 DBAPPEND()
 F1 := 100000
 DBCLOSEALL()
RETURN


Hi,


test above generates 123 error (Invalid name), because "mem:test" is not valid file name.
------------------------
C:\cawi32\lab\iod>test5.exe

Error DBFNTX/1004  Create error: mem:test.dbf (DOS Error 123)
Called from DBCREATE(0)
Called from MAIN(4)
------------------------
If I add "REQUEST HB_MEMIO", to force linking of memio driver, I get the same error, but no hb_out.log file.
------------------------
C:\cawi32\lab\iod>test5.exe

Error DBFNTX/1021  Data width error: F1
Called from MAIN(7)
Abnormal program termination
------------------------
Why I do not have hb_out.log???


Bug fixed. Thank, You! Actually two bytes in source code was changed. hb_vmAtExit -> hb_vmAtQuit :)


Regards,
Mindaugas
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to