API/SDK Help

avatar

I have created an ADD-On for the RDM software.

Currently i am having the following problem.

I need to trace the exit of the process i am starting in the ConnectExternal function.. (ProcessExitedEvent).
This is because i need to do some stuff after the process has exited.


externalProcess2.Exited += new EventHandler(externalProcess_Exited);
externalProcess2.Start();


The Event is triggered when i am closing the opened process manually. That works.
But if i use the "Close Session" button in RDM , nothing is triggered.. even though the process is closed.

Is there any possibility to do some own stuff in the Add-On when "close session" is clicked? I am not finding any information in the samples and sdk documentation..

Thank you in advance!

All Comments (3)

avatar

Hi,
Have you set the EnableRaisingEvents = true?

I don't think that we have somethingin our SDK.

David Hervieux

avatar

F****

Sorry for bothering.. This was not my day..
I really missed that flag.. Thx for pointing out !!

avatar

Let me know if you need any help with the add-on creation.

David Hervieux