• Query events of an external DLL

    From =?UTF-8?Q?R=c3=bcdiger_Fresemann?=@21:1/5 to All on Tue Jan 18 08:15:08 2022
    I use an external DLL with some functions that I need.
    According to the manufacturer, the DLL also fires events, e.g. to query
    the status of individual processes.

    I just can't manage to get into this level. I have already tried with
    Dispatch, Events or ControlNotify, but get nowhere....

    Does anyone have any ideas or som examplecode on how I could best
    accomplish this?

    Pasadena

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From dlzc@21:1/5 to All on Tue Jan 18 06:23:54 2022
    Dear RĂ¼diger Fresemann:

    On Tuesday, January 18, 2022 at 12:15:10 AM UTC-7, RĂ¼diger Fresemann wrote:
    I use an external DLL with some functions that I need.
    According to the manufacturer, the DLL also fires
    events, e.g. to query the status of individual processes.

    Does this DLL supplier not have example code, that works with their DLL? They should have C or some other code examples, to catch these queries. THAT is where you should start. Then migrate this code into a parallel thread in your VO. Read and write
    only to static variables, don't hit the stack, don't define new variables, don't call (non-static or iterative) user functions.

    David A. Smith

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)