Thanks. Simply adding an extern statement and a function prototype seems to have resolved the problem. Lee