Quantcast
Viewing latest article 12
Browse Latest Browse All 15373

Best way to restart program to avoid reentrant (stack crash) for program

I need to have the program restart from function 0, but it can't be reentrant as the stack will eventually crash. I know because the VBA program does after some time, but it's single thread only.

I was thinking of a background thread that would receive an event notification at the end of the program and would then restart the run again. Would something like that work?

I'm sure there are better ways to incorporate a re-run of a test program that will not generate a stack crash.

Thanks for the assistance.

Viewing latest article 12
Browse Latest Browse All 15373

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>