Answered How to pre-install Win32 DLL for Metro App.

  • Mittwoch, 14. März 2012 20:02
     
     

    How to install Win32 DLL with restricted API for Metro App on a machine, so that a Metro App can use the already installed Win32 DLL? Wrapping the Win32 DLL with WinRT component DLL  and pre-installing the WinRT comp DLL on the system will work. However, that is not anoption. The Win32 DLL will be installed with the driver (need to be in sync with the Driver)  and hence the necessity of pre-installing it.

    Thanks!


    Aptexan

Alle Antworten

  • Donnerstag, 15. März 2012 02:08
    Moderator
     
     

    Aptexan,

    What bus does your device use?

    Best Wishes - Eric

  • Donnerstag, 15. März 2012 03:38
     
     

    What if you install the Metro-specific wrappers with the metro app, and the win32 DLL in the old good way, by the driver's INF file?

    -- pa

  • Donnerstag, 15. März 2012 16:29
     
     
    I do not know too much of driver details, but pretty sure its PCIe. I am wondering how does the driver details affect any of the Win32 DLL issues I mentioned earlier? 

    Aptexan

  • Donnerstag, 15. März 2012 19:28
     
     

    As far as I understand the only way to call (in Metro App) a non-windows and non-C-runtime DLL is packaging the DLL with the Metro app. So if you are suggesting a metro-specific  wrapper, how would that wrapper call public API of the Win32 DLL which was already installed on the machine with the driver?

    Thanks!


    Aptexan

  • Donnerstag, 15. März 2012 19:33
    Moderator
     
     Vorgeschlagene Antwort
    I do not know too much of driver details, but pretty sure its PCIe. I am wondering how does the driver details affect any of the Win32 DLL issues I mentioned earlier? 

    Aptexan


    The device type and bus determines whether a restricted API is the proper choice.  It would not be a good choice for a camera as we have a built in API for that.
  • Montag, 4. Juni 2012 16:34
    Moderator
     
     Beantwortet

    The following article contains an alternative solution:

    http://msdn.microsoft.com/en-us/library/windows/hardware/hh833785.aspx