 |
Cheat Engine The Official Site of Cheat Engine
|
View previous topic :: View next topic |
Author |
Message |
ElectroFusion Grandmaster Cheater
Reputation: 0
Joined: 17 Dec 2006 Posts: 786
|
Posted: Thu Nov 27, 2008 10:16 pm Post subject: [C#] Thread.Suspended, Thread.Resume, Thread.Sleep |
|
|
They all are "outdated" or don't work is what C# says. different methods?
_________________
qwerty147 wrote: |
ghostonline wrote: |
what world are you in?
|
bera
but i live in NZ
|
|
|
Back to top |
|
 |
BanMe Master Cheater
Reputation: 0
Joined: 29 Nov 2005 Posts: 375 Location: Farmington NH, USA
|
Posted: Thu Nov 27, 2008 10:42 pm Post subject: |
|
|
PInvoke SuspendThread,ResumeThread,Sleep?
|
|
Back to top |
|
 |
samuri25404 Grandmaster Cheater
Reputation: 7
Joined: 04 May 2007 Posts: 955 Location: Why do you care?
|
Posted: Thu Nov 27, 2008 11:12 pm Post subject: |
|
|
BanMe wrote: | PInvoke SuspendThread,ResumeThread,Sleep? |
Those all take an hThread parameter, I believe. As far as I know, the managed Thread class doesn't offer that as a public field.
Though, you could probably do something like this (assuming the class isn't marked as sealed):
Code: |
public ThreadWrapper : Thread
{
IntPtr hThread { get{ return m_hThread; } }
}
|
Replace m_hThread with whatever the variable is, in the Thread class. Use Reflector on the System dll, and check it out.
_________________
|
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
|