Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB calling C dll

Status
Not open for further replies.

yaz

Programmer
Jun 20, 2000
10
US
the C dll compiles fine (VC++) in debug AND release version<br>with 0 warnings 0 errors<br><br>i get from VB an &quot;out of stack&quot; error message;<br>sometimes it would work fine in release version for 3-5 processses and it would then crash.<br><br>works fine in debug version<br><br>I don't have recursive routines in the VB calling program<br><br>thank for any help/links<br><br>
 
Dear yaz,<br><br>Recursion is not required to produce the famous 'out of stack space' crash.<br><br>Typically, if this occurs 'EVERY' time a routine is called it is due to an infinite loop.<br><br>Otherwise it could be due to using large local data structures instead of using heap allocation.<br><br>Without seeing the code it's difficult to rule anything out, heck it could be Borg virus!<br><br>&quot;But that's just my opinion... I could be wrong&quot;.<br>-pete
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top