This example shows what a call to IsActive looks like. Refer to ISystemDebugEventFire Example (Visual J++) to see the object creation code and to see this code in a form you can run with minor modifications.
// Verify that the event creator object is ready to generate eventsprivate static boolean SampleIsActive()
{
boolean registered[] = { false, false };
m_IEA.IsActive( registered );
return( registered[ 0 ] );
}