dump the data to a file, look with a hex editor and figure out what is what, then write a pascal one.