You might need to understand what the COM apartment model of VBA is, and how that interacts with the .NET COM interop.
A start would be this: https://support.microsoft.com/en-us/help/150777/info-descriptions-and-workings-of-ole-threading-models
But that doesn’t tell you anything about the .NET / COM interop world – for this I have the 1600 page, two volume reference by Adam Nathan https://support.microsoft.com/en-us/help/150777/info-descriptions-and-workings-of-ole-threading-models which seems to be the only comprehensive reference.
Do you have any reason to believe multi-threaded code is safe in VBA under any circumstances?
And why can’t you do the tricky stuff on the .NET side?
-Govert
--
You received this message because you are subscribed to the Google Groups "Excel-DNA" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
exceldna+u...@googlegroups.com.
To post to this group, send email to exce...@googlegroups.com.
Visit this group at https://groups.google.com/group/exceldna.
For more options, visit https://groups.google.com/d/optout.