I want to get the thread's start address with NtQueryInformationThread
, but I need to add its library. How can I do that?
相关问题
- Multiple sockets for clients to connect to
- the application was unable to start correctly 0xc0
- What is the best way to do a search in a large fil
- Inheritance impossible in Windows Runtime Componen
- glDrawElements only draws half a quad
I used
NtQueryInformationThread
without any need of loading ntdll (which in my opinion is loaded automatically). I had only to prepare a special header file with such content: http://pastebin.com/ieEqR0eL and include it in my project. After that I was able to do something like this:I prefer adding ntdll.lib (you can find it in Windows DDK/WDK) to a project. In that case you don't need GetProcAddress stuff.