Just switched to V4MD 3-d version, 2 problems
Alexey Starchikhin
ssa at sevenrays.ru
Wed Nov 14 11:58:09 CST 2007
Hello all,
I have Valentina for Macromedia Director 3.4, and now trying to switch my engine to it from 1-st version.
I created new database file, and imported structure from the old one. Now
it has UTF-16 storage encoding, and Russian locale.
I can't understand 2 things so long:
1)
pDbo = new ( Xtra "VDatabase", #kLocal )
pDbo.open(the moviepath & data.vdb)
pCursor = pDbo.sqlSelect("SELECT * FROM Firms", #kClientSide, #kReadWrite, #kRandom)
This results in ReadOnly cursor. But why? I tried to change it to
#kServerSide, and then cursor became accessable to write. I don't
really understand the meaning of this parameter, i don't use server,
just local file, and it worked well in V1 with "ClientSide" value
2) When i at last was able to write data, another problem appears.
This:
AddRecord(pCursor, propertyListOfValues)
works fine, but all russian letters is corrupted. :( The same code
worked fine with V1, where Valentina engine succesfully converted
Director ANSI encoding into internal database unicode, but now, with
V3, it doesn't work.
Can you advice me, how to solve this?
--
Best regards,
Alexey mailto:ssa at sevenrays.ru
More information about the Valentina
mailing list