Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

SysGetStackInfo always return same values.

1 view
Skip to first unread message

ramkrishn...@gmail.com

unread,
Jun 23, 2006, 9:30:55 AM6/23/06
to
SysGetStackInfo always return same values.

-- code --
MemPtr start;
MemPtr end;
if(SysGetStackInfo (&startP, &endP))
{
unsigned long stackSize = (unsigned long)((unsigned long)endP -
(unsigned long)startP);
// print stack size
}
else
{
// overflow
}

-- end --

Please help.
- Ram

0 new messages