04-05-2015 10:12 PM
Hi All,
i receive the error below, how to resolve this issue if i want it to run at the same time?
Library function error (return value==-180)
The dialog cannot be displayed in a thread whose concurrency model is multithread apartment(MTA)
Thanks 🙂
04-06-2015 01:11 AM
The threading model has to do with how events are processed in multithread applications, mainly when ActiveX objects are involved: here you can find an explanation if you want to deep into it. Apparently you are running into this error because you are calling some file dialogue in a multithread application that is using the wrong model: look at the notes given in the help, this is for example the page for .
04-06-2015 07:01 PM - edited 04-06-2015 07:02 PM
noted thanks for advice