ActiveX and Powerpoint

Hi,

I am able to send messages from Powerpoint to the Blender ActiveX, but I could not get the other way around to work.

It looks as the activex is only processing load_url messages…



void CBlenderPlayerCtrl::processMessages(void)
{
	// Only process messages if the engine is running
	if (m_engineRunning && m_networkdevice) {
		vector<NG_NetworkMessage*> msgs;
		msgs = m_networkdevice->RetrieveNetworkMessages();
		if (msgs.size() > 0) {
			vector<NG_NetworkMessage*>::iterator it;
			/* At the moment, we look for messages for the "host_application"
			 * with subject "load_url" only.
			 */
			for (it = msgs.begin(); it != msgs.end(); it++) {
				NG_NetworkMessage* msg = *it;
				if (msg->GetDestinationName() == s_messageAddress) {
					if (msg->GetSubject() == s_messageLoadURLSubject) {
						loadURL(msg->GetMessageText());
					}
				}
			}
		}
	}
}


But maybe some VBA Guru can think of a workaround?

Idea is to let the Blender ActiveX advance the Powerpoint Presentaton to the next slide.

Greetz,
Carsten.