Encryption
chuck hinkle
chuckbo at hinkles.us
Mon Mar 15 12:24:23 CST 2004
>
> May be you have 2 V4RB plguins?
> REALbasic start glitches if it have 2 plugins.
>
> Also.
>
> I do not see myDB = new Vdatabase
> call
>
Good suggestion, but no, there is only one V4RB plugin.
The problem is not with the Encryption. I just tried adding a
myDB.CreateBaseObject("temp")
command, and it has the same error. But my line
myDB.Creator = "temp"
compiles fine.
Here is the entire routine that I'm testing with to build the database.
dim f as folderitem
dim rc as boolean
myDB = new TransDB
f = getsavefolderitem("DB","TestDB")
myDB.schemaversion = 1
myDB.Creator = "Temp"
if f <> nil then rc = myDB.create(f,1,4*1024)
myDB.ChangeEncryption("","test")
... and then I call routines to populate the tables.
TransDB is defined as a Class of type VDataBase.
chuck
More information about the Valentina
mailing list