Was the application and MTDLL installed under elevated Administrator privledge?
>I have an app that sends emails using a MTDLL that I created which uses an ActiveX mail control. It does this using the VfpMtApp (multithreading DLL) so that I can send mail and continue normal program processing. It's been tried and true under Windows XP, but under Vista it fails - well, sort of. The mail gets sent fine, but the thread never completes. I've tracked it down to the RETURN statement within my MTDLL code. If I run the MTDLL directly (outside of the multi-threading) I see the error, which is OLE IDispatch Code 5.
>
>Does anyone have any idea why this would fail running under Vista but not XP?
>
>Thanks,
>-m@
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer