Hi,
A small tip - uses a hex editor to peek in to the db file, you'll easily get your cookie.
The cookie purpose is to identify a valid database file, this because each database can have a different structure, by example in my scheme :
1 byte flag. 00 implies valid record, 0xFF implies deleted record
but I know other scheme with different values.
Regards M
SCJP, SCJD, SCWCD, OCPJBCD