EDSDK callbacks not working

前端 未结 2 1615
后悔当初
后悔当初 2021-01-25 19:14

I have a working command line application, using EDSDK v2.13.

However, when I register callbacks, there is a burst of property events then nothing.

I have remedi

2条回答
  •  失恋的感觉
    2021-01-25 20:15

    If you're using the EDSDK on Windows, you have to have a Windows message loop in your main thread, otherwise callbacks won't happen. (This is because the EDSDK uses the obsolete COM STA threading model instead of real threads.)

提交回复
热议问题