Users of FSX/P3D with EZ Camera and FreeTrack will probably be aware that the two add-on applications are not overly happy running together and have a tendency to, well, crash EZ Camera. This results in the necessity of restart of both applications before you can use them again.
At his “Mouseviator” site, Radek Henyš has made a script available, which runs in LUA through a registered version of Pete Dowson’s FSUIPC4, that doesn’t eliminate the problem, but at least alleviates the symptoms by automatically restarting both applications following a crash.
The script is user configurable and the source code is available if you wish to look how the developer has done what he has. Find out more at his website, here.