All,
I wrote an EFS to exchange information with a DLL. It works fine if there is only one chart loaded this EFS.
Things get complicated when users open different charts and load the same EFS. I had to add code to give ID from the DLL for each chart. It works fine again until users load a different symbol on the same chart.
Since the EFS has to be reloaded, (the old ID gots wiped out) it gets a different ID. Due to resources constraint, I don't want the DLL to assign a different ID if the EFS is coming from the same chart. How can I do that? Is there a Chart ID that I can pass to my DLL?
Alternatively, is there an event handler that tells me that the EFS is reloading?
Anthony
I wrote an EFS to exchange information with a DLL. It works fine if there is only one chart loaded this EFS.
Things get complicated when users open different charts and load the same EFS. I had to add code to give ID from the DLL for each chart. It works fine again until users load a different symbol on the same chart.
Since the EFS has to be reloaded, (the old ID gots wiped out) it gets a different ID. Due to resources constraint, I don't want the DLL to assign a different ID if the EFS is coming from the same chart. How can I do that? Is there a Chart ID that I can pass to my DLL?
Alternatively, is there an event handler that tells me that the EFS is reloading?
Anthony
Comment