Hello,

I have created an ActiveX component (which send SMTP Emails), and compiled it. I then added it to another project and tested it, it works fine.

However when I then compile that project and run the exe, if I try to send an email I get an "Access Violation" error.

Can anyone help me in finding out why running the exe in debug mode with my component has no problem but compiling it causes the error.

Any help greatly appreciated.

Regards

Simon