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
- Verschoben Eric Hanson-MSFTMicrosoft Employee, Moderator Donnerstag, 15. März 2012 02:04 proper forum (From:Building Metro style apps with C++ )
Alle Antworten
-
Donnerstag, 15. März 2012 02:08Moderator
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:29I 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:33Moderator
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.- Als Antwort vorgeschlagen Eric Hanson-MSFTMicrosoft Employee, Moderator Mittwoch, 9. Mai 2012 18:00
-
Montag, 4. Juni 2012 16:34Moderator
The following article contains an alternative solution:
http://msdn.microsoft.com/en-us/library/windows/hardware/hh833785.aspx
- Als Antwort markiert Eric Hanson-MSFTMicrosoft Employee, Moderator Montag, 4. Juni 2012 16:34

