Scherbina
Sat Nov 26 17:47:11 CST 2005
Hello, Kimso.
Nope, AFAIR there is no documented way to retrieve stack size. As for
undocumented ways, information about stack is stored in Thread Environment
Block (TEB). For more information take a look at:
http://undocumented.ntinternals.net/UserMode/Undocumented%20Functions/NT%20Objects/Thread/TEB.html
On how to retrieve TEB you may find in this article:
http://www.codeproject.com/win32/Remote.asp
--
Scherbina Vladimir
<kimso.zhao@gmail.com> wrote in message
news:1133046510.283537.194150@g43g2000cwa.googlegroups.com...
> Hi,
>
> I have a multi-thread programs, and if I want to check the size of
> memory that has been allocated in the stack in one of the thread. Is
> there any fucntion avaiable in VC6.0?
>
> Thanks in advance!
>