Using the .NET BackgroundWorker from VB6 fails with an AccessViolationException
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 th开发者_如何转开发at is not a viable option for us.
http://msdn.microsoft.com/en-us/library/aa719109(VS.71).aspx
Here are lots of details of the problem
How can I fix the example to work without compiling the VB6 code as P-code?
I contacted Microsoft Tech Support and the official answer is that it is not possible. That example is going to be pulled from MSDN.
精彩评论