• 首页
  • 前端技术
  • 编程语言
  • 人工智能
  • 运维知识
  • 资源下载
  • 常用小工具
  • 技术问答

C# Current thread must be set to single thread apartment (STA) mode before OLE calls can be made

2022-12-23

 

 

将箭头指向部分替换为编译器报错的内容即可。

C# Current thread must be set to single thread apartment (STA) mode before OLE calls can be made

 

 

参考文章:https://www.experts-exchange.com/questions/28238490/C-help-needed-Current-thread-must-be-set-to-single-thread-apartment-STA-mode-before-OLE-calls-can-be-made.html

相关文章:

  • Can HTML checkboxes be set to readonly? 2021-07-30
  • quartz启动Quartz : org.quartz.SchedulerConfigException: Thread count must be > 0 2022-12-23
  • requestFeature() must be called before adding content 2022-12-23
  • win10安装apache出现Errors reported here must be corrected before the service can be started. 2021-12-04
  • Java Error: Random.nextInt: Exception in thread "main" java.lang.IllegalArgumentException: bound must 2022-12-23
  • [原][Android]All WebView methods must be called on the same thread. 2022-12-23
  • [django] Exception Value: DatabaseWrapper objects created in a thread can only be used in that same 2022-12-23
  • Flutter 使用 flutter_inappbrowser 加载 H5 及与 js 交互,Methods marked with @UiThread must be executed on the 2022-12-23
猜你喜欢
  • Current thread must be set to single thread apartment (STA) mode before OLE 2021-10-16
  • PhoneFactory.getDefaultPhone must be called from Looper thread 2022-12-23
  • User must be authenticated with Spring Security before authorization can be completed. 2021-05-14
  • Errors reported here must be corrected before the service can be started 2018-04-12
  • WPF BackgroundWorker The calling thread must be STA, because many UI components require this.【原创】 2022-12-23
  • Why NSAttributedString import html must be on main thread? 2022-12-23
相关资源
  • rt-thread物联网操作系统 v4.0.3下载 2023-01-21
  • To Be Continued Regular字体,ToBeContinued字体下载下载 2021-11-03
  • Be Regular字体,Be字体下载下载 2021-11-02
  • Single Regular字体,Single字体下载下载 2021-11-03
相似解决方案
热门标签
Java Python linux javascript Mysql C# Docker 算法 前端 SpringBoot Redis Vue spring 设计模式 .net core .net kubernetes c++ 数据库 数据结构 大数据 js 机器学习 微服务 Android Go 程序员 面试 JVM ASP.net core 云原生 人工智能 后端 PHP git CSS golang k8s Nginx Django mybatis 深度学习 多线程 React 架构 devops 爬虫 云计算 Spring Boot LeetCode
By © 2026 likecs 版权所有,
本站所有数据收集于网络如有侵犯到您的权益请联系 进行下架处理1。
粤ICP备22038628号Powered By WordPress