Announcement

Collapse
No announcement yet.

Is there a way to do a callback from a DLL?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Is there a way to do a callback from a DLL?

    Hi,
    I want to do something in an external DLL that triggers some action in an EFS but I want to do it async without blocking the efs until the DLL call returns. Is this possible?

    Is there a way to create separate processes or threads inside a single EFS?

    Both of these features would be useful. Multithreading an efs script is not critical. That would be a workaround if I couldn't have a callback from the DLL.

    And the callback from the DLL is not critical but it would make for a better design for my GUI.

    Thanks.

  • #2
    crazytiger,

    EFS doesn't support multithreading within a study, I do believe that each study runs as its own thread within the eSignal engine however.

    I don't think there is any automated way to do semiphores or interrupts or similar signaling methods between dll's and an EFS study. You can however use a sharred folder to do a "poor mans" async signal. DLL creates a file when it wants to do something...EFS see's the file calls the DLL and they exchange data, clean up the file when done. The file itself could also hold the data...but this is a bit more risky.

    Garth
    Garth

    Comment

    Working...
    X