Hi Brian, Thanks for the 'extern "C"', I had forgotten to add those. If you don't mind however I'll avoid poluting the std namespace. Chris _________________________________________________________________ Choose an Internet access plan right for you -- try MSN! http://resourcecenter.msn.com/access/plans/default.asp