The problem was indeed that the files were not ordered correctly in the project. The access violation problem went away when I rebooted NT. There were indeed some typos in the example that I posted (serves me right for trying to type in the code rather than import it directly into the message). David S. Harrison (daha@best.com)