__chkstk linker error

In my driver i am getting __chkstk linker error. how to avoid this.

You ever think about searching for an answer? Try www.osronline.com which
you had to join to get in this newsgroup.

“Mani” wrote in message news:xxxxx@ntfsd…
In my driver i am getting __chkstk linker error. how to avoid this.

> In my driver i am getting __chkstk linker error. how to avoid this.

I think this error occurs when you’re overflowing the limited (12kb?)
kernel stack by declaring overly large autos (local variables) in a
function.

If you need large storage spaces you’ll have to allocate them on the
heap and then free them when you’re done.

Cheers,
Josh

I think this is because you’re not linking with BufferOverflowU.LIB.
But then again, maybe not.

>> xxxxx@blackmagic-design.com 6/13/2005 7:06:48 PM >>>

In my driver i am getting __chkstk linker error. how to avoid this.

I think this error occurs when you’re overflowing the limited (12kb?)
kernel stack by declaring overly large autos (local variables) in a
function.

If you need large storage spaces you’ll have to allocate them on the
heap and then free them when you’re done.

Cheers,
Josh


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@evitechnology.com
To unsubscribe send a blank email to xxxxx@lists.osr.com