Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MTDLL problems under Vista
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
MTDLL problems under Vista
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Miscellaneous
Thread ID:
01435453
Message ID:
01435453
Views:
139
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@
Next
Reply
Map
View

Click here to load this message in the networking platform