Writing an MP to Run Under an MC or Stand-Alone

 

use EvInit() in the standard way

if the MP requires access to the SP itself, declare the global variable EventSource and use the value vc supplies for it (&eventsource in the MP is vc)

if appropriate, declare the global variable Visualization and assign the visualization window to it