Using boost threads when compiling with /clr

前端 未结 1 1899
被撕碎了的回忆
被撕碎了的回忆 2020-12-12 02:39

I have gave up on creating a GUI directly from the windows API so I\'m going to use forms. I would like to multithread my app and wrap the GUI in a class and put it in a se

相关标签:
1条回答
  • 2020-12-12 03:22

    There are two problems when using boost::thread in a managed application. The first is the linker error you encountered. The second is an initialization error at application startup if the boost::thread implementation is statically linked with your application.

    Both problems are mentioned in an older bug report. I don't know if this has changed in later releases; 1.43 has the same problem. I assume not as the case was closed wontfix.

    0 讨论(0)
提交回复
热议问题