chkStk ??

Hello all,

A 3rd party exe has stack commit size of 1000 and
reserve of 2800. After it executes one of my DLL fns
it faults at alloca_probe routine in chkstk.asm
file…
My function uses a stack size of around 1500 bytes. I
tried to disable stack checking in my Dll but to no
avail…I am running on XP…

I was of the impression that the Apps stack limits are
the initial values and not a hard limit??

Does this mean any DLL that uses quite a huge chunk of
stack will not work with this app???

Any suggestions appreciated…

-Daniel


Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook™.
http://calendar.yahoo.com

You don’t know how much of that stack space is used by the app, right ? For
what it’s worth, they might be using all those 3800 bytes by the time they
call your dll. One thing you can try is, move your stuff from the stack to
the heap.

Alberto.

-----Original Message-----
From: Dan . [mailto:xxxxx@yahoo.com]
Sent: Thursday, June 12, 2003 2:14 AM
To: NT Developers Interest List
Subject: [ntdev] chkStk ??

Hello all,

A 3rd party exe has stack commit size of 1000 and
reserve of 2800. After it executes one of my DLL fns
it faults at alloca_probe routine in chkstk.asm
file…
My function uses a stack size of around 1500 bytes. I
tried to disable stack checking in my Dll but to no
avail…I am running on XP…

I was of the impression that the Apps stack limits are
the initial values and not a hard limit??

Does this mean any DLL that uses quite a huge chunk of
stack will not work with this app???

Any suggestions appreciated…

-Daniel


Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook™.
http://calendar.yahoo.com


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

The contents of this e-mail are intended for the named addressee only. It
contains information that may be confidential. Unless you are the named
addressee or an authorized designee, you may not copy or use it, or disclose
it to anyone else. If you received it in error please notify us immediately
and then destroy it.