Dave:
The basic problem is 'dangling references':
I would strongly recommend that you recast your interface in terms of smart pointers anyway; it will help in so many ways.
HTH again,
You have - my problems are sorted. Thanks. I'm very grateful :-) - Shayne. ******************************************************************** Visit our Internet site at http://www.rbsmarkets.com This e-mail is intended only for the addressee named above. As this e-mail may contain confidential or privileged information, if you are not the named addressee, you are not authorised to retain, read, copy or disseminate this message or any part of it. The Royal Bank of Scotland plc is registered in Scotland No 90312 Registered Office: 36 St Andrew Square, Edinburgh EH2 2YB Regulated by the Financial Services Authority ********************************************************************