Is AEGP_RegisterListener in RenderQueueMonitorSuite still broken/unusable?
Hi everyone,
I am trying to use the RenderQueueMonitorSuite to listen for render queue events, but I've hit a wall. While the registration function returns success, the registered callbacks are never actually triggered during rendering.
I noticed some very old threads mentioning this suite might be non-functional. Is this still the case in 2026, or is there a known workaround?
Environment:
-
SDK & AE Version: CC 2019 (16.x)
My Implementation Details:
-
I updated
AEGP_SuiteHandler.hto include the suite so I can call it via the standard handler pattern. -
Calling
AEGP_RegisterListenerinsideEntryPointFunccauses AE to crash on startup. -
To avoid the crash, I moved the registration logic to a
CommandHook. When triggered via a menu item,AEGP_RegisterListenerreturnsA_Err_NONE(0), but the callback functions (e.g.,RQM_RenderJobStarted) are never executed when a render starts.
static A_Err RQM_RenderJobStarted(AEGP_RQM_BasicData *basic_dataP, AEGP_RQM_SessionId jobid)
{
// This alert never pops up
return Alert("RQM_RenderJobStarted");
}
static const AEGP_RQM_FunctionBlock1 fcn_block = {
RQM_RenderJobStarted,
RQM_RenderJobEnded,
RQM_RenderJobItemStarted,
RQM_RenderJobItemUpdated,
RQM_RenderJobItemEnded,
RQM_RenderJobItemReportLog
};
// Inside CommandHook...
suites.RenderQueueMonitorSuite1()->AEGP_RegisterListener(S_my_id, NULL, &fcn_block);
