>>I don't think DoEvents and AutoYield are relevant for DLL.
>
>Communications via COM depend on parts of Windows that are outside of VFP. If VFP is blocking processing of Windows events, it might interfere with that.
>
>Testing of these is easy, literally one line of code each.
Yes, I will add them. Do you suggest adding into Invoke call?
If it's not broken, fix it until it is.
My Blog