Out of Stack Space/Object Library not Registered


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: Out of Stack Space/Object Library not Registered

Hybrid View

  1. #1
    David C Guest

    Out of Stack Space/Object Library not Registered


    Vb6.0:
    These pblms have happened to me now twice in the last 3 months. I work w/VB6.0
    on a daily basis and for whatever reason, at one point I start having these
    pblms. I think they are related. In any case, uninstalling and reinstalling
    VB does NOT help. I've had to completely reinstall my PC. Something I would
    like to avoid this time and future. The interesting thing about the out of
    stack is that when I view the Call Stack, the only item is my Sub Main (),
    which is where I bomb (believe it or not on a Screen.MousePointer=vbHourglass
    stmt). Can anyone help. Is there some code I can use to try to determine
    if it's something we're doing in our application? If not, does anyone know
    of any product that can help me?? Like I mentioned the call stack shows basically
    nothing. There is no stack!! Also, something worth mentioning.. if I do not
    get the out of stack message but try to run my application via IDE 2 consecutive
    times, I GPF on VB6.EXE and on occasion on SSSCC.DLL. To avoid this, I 'New
    Project', then reload our application and all is OK. Very annoying.

  2. #2
    Alan Gillott Guest

    Re: Out of Stack Space/Object Library not Registered

    Out of stack space is usually "loop calling something" like a recursive
    loop. I presume you have stepped through your program and are very happy
    with everything that has gone before. And you have turned off error recovery
    so that the error occurs in the right place, not after resume next has
    flushed the stack.

    David C <capparelli@addsys.com> wrote in message
    news:38e346bf@news.devx.com...
    >
    > Vb6.0:
    > These pblms have happened to me now twice in the last 3 months. I work

    w/VB6.0
    > on a daily basis and for whatever reason, at one point I start having

    these
    > pblms. I think they are related. In any case, uninstalling and

    reinstalling
    > VB does NOT help. I've had to completely reinstall my PC. Something I

    would
    > like to avoid this time and future. The interesting thing about the out of
    > stack is that when I view the Call Stack, the only item is my Sub Main (),
    > which is where I bomb (believe it or not on a

    Screen.MousePointer=vbHourglass
    > stmt). Can anyone help. Is there some code I can use to try to determine
    > if it's something we're doing in our application? If not, does anyone know
    > of any product that can help me?? Like I mentioned the call stack shows

    basically
    > nothing. There is no stack!! Also, something worth mentioning.. if I do

    not
    > get the out of stack message but try to run my application via IDE 2

    consecutive
    > times, I GPF on VB6.EXE and on occasion on SSSCC.DLL. To avoid this, I

    'New
    > Project', then reload our application and all is OK. Very annoying.




  3. #3
    David C Guest

    Re: Out of Stack Space/Object Library not Registered


    To debug as u describe will be difficult because of the size of the application.
    Yes, this app uses Resume Next and I cannot afford to 'Break on all Errors'..
    I'll be debugging for days. I do have several other questions which may actually
    shed some light on the subject. How many form level variables would be considered
    too much? How many procedures in a form would be considered too much. The
    help mentions stuff like this. I can say that some of our forms are quite
    involved. So where to we start drawing the line?

    "Alan Gillott" <agillott@tact.com> wrote:
    >Out of stack space is usually "loop calling something" like a recursive
    >loop. I presume you have stepped through your program and are very happy
    >with everything that has gone before. And you have turned off error recovery
    >so that the error occurs in the right place, not after resume next has
    >flushed the stack.
    >
    >David C <capparelli@addsys.com> wrote in message
    >news:38e346bf@news.devx.com...
    >>
    >> Vb6.0:
    >> These pblms have happened to me now twice in the last 3 months. I work

    >w/VB6.0
    >> on a daily basis and for whatever reason, at one point I start having

    >these
    >> pblms. I think they are related. In any case, uninstalling and

    >reinstalling
    >> VB does NOT help. I've had to completely reinstall my PC. Something I

    >would
    >> like to avoid this time and future. The interesting thing about the out

    of
    >> stack is that when I view the Call Stack, the only item is my Sub Main

    (),
    >> which is where I bomb (believe it or not on a

    >Screen.MousePointer=vbHourglass
    >> stmt). Can anyone help. Is there some code I can use to try to determine
    >> if it's something we're doing in our application? If not, does anyone

    know
    >> of any product that can help me?? Like I mentioned the call stack shows

    >basically
    >> nothing. There is no stack!! Also, something worth mentioning.. if I do

    >not
    >> get the out of stack message but try to run my application via IDE 2

    >consecutive
    >> times, I GPF on VB6.EXE and on occasion on SSSCC.DLL. To avoid this, I

    >'New
    >> Project', then reload our application and all is OK. Very annoying.

    >
    >



  4. #4
    Alan Gillott Guest

    Re: Out of Stack Space/Object Library not Registered

    I'd just work backwards from where I am now. Set a breakpoint and then clomp
    through. my guess is your killer is going to be nearer the failure than the
    beginning.

    David C <capparelli@addsys.com> wrote in message
    news:38e39348$1@news.devx.com...
    >
    > To debug as u describe will be difficult because of the size of the

    application.
    > Yes, this app uses Resume Next and I cannot afford to 'Break on all

    Errors'..
    > I'll be debugging for days. I do have several other questions which may

    actually
    > shed some light on the subject. How many form level variables would be

    considered
    > too much? How many procedures in a form would be considered too much. The
    > help mentions stuff like this. I can say that some of our forms are quite
    > involved. So where to we start drawing the line?
    >
    > "Alan Gillott" <agillott@tact.com> wrote:
    > >Out of stack space is usually "loop calling something" like a recursive
    > >loop. I presume you have stepped through your program and are very happy
    > >with everything that has gone before. And you have turned off error

    recovery
    > >so that the error occurs in the right place, not after resume next has
    > >flushed the stack.
    > >
    > >David C <capparelli@addsys.com> wrote in message
    > >news:38e346bf@news.devx.com...
    > >>
    > >> Vb6.0:
    > >> These pblms have happened to me now twice in the last 3 months. I work

    > >w/VB6.0
    > >> on a daily basis and for whatever reason, at one point I start having

    > >these
    > >> pblms. I think they are related. In any case, uninstalling and

    > >reinstalling
    > >> VB does NOT help. I've had to completely reinstall my PC. Something I

    > >would
    > >> like to avoid this time and future. The interesting thing about the out

    > of
    > >> stack is that when I view the Call Stack, the only item is my Sub Main

    > (),
    > >> which is where I bomb (believe it or not on a

    > >Screen.MousePointer=vbHourglass
    > >> stmt). Can anyone help. Is there some code I can use to try to

    determine
    > >> if it's something we're doing in our application? If not, does anyone

    > know
    > >> of any product that can help me?? Like I mentioned the call stack shows

    > >basically
    > >> nothing. There is no stack!! Also, something worth mentioning.. if I do

    > >not
    > >> get the out of stack message but try to run my application via IDE 2

    > >consecutive
    > >> times, I GPF on VB6.EXE and on occasion on SSSCC.DLL. To avoid this, I

    > >'New
    > >> Project', then reload our application and all is OK. Very annoying.

    > >
    > >

    >




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center