Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

.NET 

Account creator doesnt work

I tried to make an account generator with some help of tutorials on YouTube, but I cant get it to work.

I get this error:

"System.Threading.ThreadStateException: "The thread has not been deferred by the user and can not be resumed."

Can someone help me out? If so, hmu with a PM.
Did you use Thread.Abort? If so, check this: https://stackoverflow.com/questions/1054...et-using-c
(Jul 13, 2017 05:56 AM)Rhez Wrote:  Did you use Thread.Abort? If so, check this: https://stackoverflow.com/questions/1054...et-using-c



This is where the error is, says Visual Studio.
I think there's a logic error in your code. Why did you leave the thread resume out of the original code? What is its purpose there? Basically if the thread didn't start (I assume that's what the 'Started' boolean is) then it starts it and sets the boolean to true. Now, after that, it will jump to thread resume but the thread already started, so unless something went wrong it will throw an exception. So just remove it, I say.

You should also try to add a 'Try' to your code.
(Jul 13, 2017 05:59 AM)Kαѕρer Wrote:  

This is where the error is, says Visual Studio.

Incomplete code. Why there's a Resume there?


Possibly Related Threads...
Thread / Author Replies Views Last Post
[C] by Sir BillyAug 26, 2019 06:33 PM 1 149 Aug 26, 2019 06:33 PM
Last Post: YouthInAsia
[Shell] by xdawnJun 5, 2017 03:56 PM 9 326 Jun 5, 2017 03:56 PM
Last Post: b00st3d
[.NET] by leonidascaprucoDec 28, 2016 03:27 AM 3 176 Dec 28, 2016 03:27 AM
Last Post: ubbelol