FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Error: Unresolved external '_HB_FUN_LSAVEOBJECT'
Posts: 98
Joined: Mon Jan 23, 2006 09:34 AM
Error: Unresolved external '_HB_FUN_LSAVEOBJECT'
Posted: Tue Nov 04, 2008 09:30 PM

hi everybody i don't understand why i have this error
Any idea?

Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Error: Unresolved external '_HB_FUN_LSAVEOBJECT'
Posted: Tue Nov 04, 2008 10:04 PM

It seems that lSaveObject() is not supported by FWH.

EMG

Posts: 98
Joined: Mon Jan 23, 2006 09:34 AM
Error: Unresolved external '_HB_FUN_LSAVEOBJECT'
Posted: Tue Nov 04, 2008 10:26 PM

So how can i save an array on disc and restore it?

Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Error: Unresolved external '_HB_FUN_LSAVEOBJECT'
Posted: Tue Nov 04, 2008 11:17 PM

function Main()

local aInfo := { { "one", 1, .T. }, { "two", 2, .F. }, { "three", 3, Date() } }
local cText := ASave( aInfo )

aInfo := nil

aInfo = ARead( cText )

MsgInfo( Len( aInfo ) )
MsgInfo( aInfo[ 1 ][ 1 ] )
MsgInfo( aInfo[ 3 ][ 3 ] )

return nil

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 98
Joined: Mon Jan 23, 2006 09:34 AM
Error: Unresolved external '_HB_FUN_LSAVEOBJECT'
Posted: Wed Nov 05, 2008 01:27 PM

And i save the text in a .txt file.
Thank you James and Enrico

Continue the discussion