从VB6使用.NET BackgroundWorker失败,并显示AccessViolationException [英] Using the .NET BackgroundWorker from VB6 fails with an AccessViolationException

查看:90
本文介绍了从VB6使用.NET BackgroundWorker失败,并显示AccessViolationException的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

下面的MSDN示例承诺演示如何使用VB6中的.NET BackgroundWorker,但它失败,并出现AccessViolationException。唯一的解决方法是将VB6代码编译为P代码,但这对我们而言不是可行的选择。

The following MSDN example promises to demonstrate how to use the .NET BackgroundWorker from VB6 but it fails with an AccessViolationException. The only workaround is to compile the VB6 code as P-code, but that is not a viable option for us.

http://msdn.microsoft.com/en-us/library/aa719109(VS.71).aspx

这里是很多问题的详细信息

推荐答案

I 与Microsoft技术支持联系,官方的答案是这是不可能的。该示例将从MSDN中提取。

I contacted Microsoft Tech Support and the official answer is that it is not possible. That example is going to be pulled from MSDN.

这篇关于从VB6使用.NET BackgroundWorker失败,并显示AccessViolationException的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆