Solved

VB6 UltraGrid out of stack error

Posted on 2014-01-13
2
385 Views
Last Modified: 2014-01-14
After creating an initial record set with null information within the columns in the MS SQL Server, I keep getting a out of stack space error. The interesting thing is that the call to load these columns is not recursive in any way.
Does anyone know why the record set would continue to cycle instead of just loading the uGrid with the corresponding columns?
0
Comment
Question by:TeamSrv
2 Comments
 
LVL 33

Accepted Solution

by:
sarabande earned 500 total points
ID: 39778597
can you post the code that caused the error?

I would assume that you try to fetch data from an invalid cursor. that creates an infinite loop which finally stopped with stack overflow.

note, database calls normally are triggering asynchronous action in threads. the recursive parts may happen there.

Sara
0
 
LVL 2

Author Closing Comment

by:TeamSrv
ID: 39779665
Thank you for your assistance Sara.

The form was being unloaded, if certain parameters weren't being met; there for, the form would reload itself for a good amount of time before giving that error.

I still grant you the points for trying to help me out.
:)
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The following diagram presents a diamond class hierarchy: As depicted, diamond inheritance denotes when two classes (e.g., CDerived1 and CDerived2), separately extending a common base class (e.g., CBase), are sub classed simultaneously by a fourt…
In Easy String Encryption Using CryptoAPI in C++ (http://www.experts-exchange.com/viewArticle.jsp?aid=1193) I described how to encrypt text and recommended that the encrypted text be stored as a series of hexadecimal digits -- because cyphertext may…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

947 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now