Results 1 to 3 of 3

Thread: error 28 out of stack space

  1. #1
    Guest
    my app calls a C dll and I get that error again and again.
    Is there a way to control size of stack in VB?
    Can I clear it ?

    thank you

  2. #2
    Frenzied Member
    Join Date
    Jul 1999
    Location
    Huntingdon Valley, PA 19006
    Posts
    1,151

    Recursion

    Out of Stack Space is usually due to recursive or circular calls to subroutines. SubX calls SubY, which calls SubX or the equivalent.

    The Event Subroutines in VB (Lost_Focus, Text_Change, et cetera) can be called at times you might not expect.

    Try tracing your way through your application.
    Live long & prosper.

    The Dinosaur from prehistoric era prior to computers.

    Eschew obfuscation!
    If a billion people believe a foolish idea, it is still a foolish idea!
    VB.net 2010 Express
    64Bit & 32Bit Windows 7 & Windows XP. I run 4 operating systems on a single PC.

  3. #3
    _______ HeSaidJoe's Avatar
    Join Date
    Jun 1999
    Location
    Canada
    Posts
    3,946

    math

    also happens in loops with math functions if your
    function doesn't do what you think it does.
    "A myth is not the succession of individual images,
    but an integerated meaningful entity,
    reflecting a distinct aspect of the real world."

    ___ Adolf Jensen

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width