Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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 that 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?

like image 557
Beth Avatar asked Jan 24 '26 03:01

Beth


1 Answers

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

like image 111
Beth Avatar answered Jan 25 '26 19:01

Beth



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!