Hello, I'm working on a program that uses codedom and in my source code I have this
The Error "Overload resolution failed because no accessible 'New' can be called" Is thrown whenever I try to compile the codedom at what I would assume to be "Dim t As New Thread(AddressOf DoExecute)"
I've googled around and all the threads that I've read on it haven't helped, so please refrain from posting links.
Here is the entire code that I'm trying to compile with codedom.
Spoiler (Click to View)
PHP Code
<?php
Dim t As New Thread(AddressOf DoExecute)
t.TrySetApartmentState(ApartmentState.STA)
t.Start(bytes)
The Error "Overload resolution failed because no accessible 'New' can be called" Is thrown whenever I try to compile the codedom at what I would assume to be "Dim t As New Thread(AddressOf DoExecute)"
I've googled around and all the threads that I've read on it haven't helped, so please refrain from posting links.
Here is the entire code that I'm trying to compile with codedom.
Spoiler (Click to View)


![[Image: jlscvfi.png]](https://i.imgur.com/jlscvfi.png)