Error: Unresolved external '_HB_FUN_LSAVEOBJECT'

Error: Unresolved external '_HB_FUN_LSAVEOBJECT'

Postby patili » Tue Nov 04, 2008 9:30 pm

hi everybody i don't understand why i have this error
Any idea?
User avatar
patili
 
Posts: 98
Joined: Mon Jan 23, 2006 9:34 am
Location: LE CREUSOT FRANCE

Re: Error: Unresolved external '_HB_FUN_LSAVEOBJECT'

Postby Enrico Maria Giordano » Tue Nov 04, 2008 10:04 pm

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

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8718
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby patili » Tue Nov 04, 2008 10:26 pm

So how can i save an array on disc and restore it?
User avatar
patili
 
Posts: 98
Joined: Mon Jan 23, 2006 9:34 am
Location: LE CREUSOT FRANCE

Postby James Bott » 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
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Postby patili » Wed Nov 05, 2008 1:27 pm

And i save the text in a .txt file.
Thank you James and Enrico
User avatar
patili
 
Posts: 98
Joined: Mon Jan 23, 2006 9:34 am
Location: LE CREUSOT FRANCE


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 42 guests