Quantcast
Channel: R.NET
Viewing all articles
Browse latest Browse all 1634

New Post: Restart engine

$
0
0
engine works well and during the process I create a huge number of variables. Now I want to run another independent program and I need to clear all the variables I create before. So I want to restart my engine. The restart also useful when an error occured and the best choice is to restart the engine.

I use the following to realize it but failed:

engine.close()
engine.Initialize();

However, it reported that "Subscripts out of bounds"

Do you have any other ideas to restart the engine? or I will restart my EXE to solve the problem, it's really clumsy.

Viewing all articles
Browse latest Browse all 1634

Trending Articles



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