Menu

MDAPI_OnStartProc: Support for parameter plKeepRunning

Anonymous
2015-08-31
2015-11-15
  • Anonymous

    Anonymous - 2015-08-31

    Hi,

    I am the developer of the new Windows DVBViewer/MDAPI plugin mdvbapi.

    As there is a single instance/DLL for each tuner there is a internal pipe connection between multiple instances.
    (Oscam dvbapi only accept a single socket connection)

    In MDAPI_Plus there is the plugin parameter "Unload plugin after inactivity period:".
    If this value is set to another value than "0" (disabled) the plugin mdvbapi will fail on multiple tuners.
    This because may the pipe server is getting closed so all other instances doesn't have any way to communicate with oscam.

    As I have found the declaration of MDAPI_OnStartProc there is a parameter plKeepRunning:

    typedef void (_cdecl MDAPI_OnStartProc)(HINSTANCE hMDInstance, HWND hMDWnd,
    BOOL bLogEnabled, unsigned long dwPluginID, char
    cHotKey, char sApiVersion,
    long
    plKeepRunning);

    It would be nice if the parameter can be included in MDAPI_Plus.
    It should be enough if this paramter is set to "1" to automatically disable the unloading of the plugin after inactivity by the var dwInactivityTimeout = 0.

    thx

     
  • MDAPI_Plus

    MDAPI_Plus - 2015-11-15

    Hi,

    There is an update code committed by author. It should work now.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.