winapi - Can non-white-listed APIs in a Win32 library be used in a WinRT app? -


i'm building windows store app in c++ desktop only, , need use win32 api not white-listed. background, only white-listed win32 apis available winrt apps. know win32 libraries can used in winrt apps, question can library contain non-white-listed api calls? matter if library dll or static lib? not going submit app windows store, long app works, i'm not concerned getting approved ms.

if can same behavior through supported api i'd recommend that. if not, take @ brokered windows runtime components allow sideloaded windows runtime app call component in desktop environment can use desktop api.

if deploy through store app must pass certification , can use or link allowed api. app won't pass certification if contains library references blocked api.

if aren't deploying through store passing certification recommended not required. app can link , call api not permitted windows store apps, behavior not guaranteed. functions may not work desired windows store app's context. in cases may fail. in others may fail. in others may succeed. unsupported behavior may change without notice. using brokered windows runtime component call desktop api desktop environment safer , more consistent.

at high level doesn't matter if library dll or static lib; however, since linker remove unused calls static lib, linking static library contains disallowed unused calls may pass certification while linking dll same calls fail.


Comments

Popular posts from this blog

css - SVG using textPath a symbol not rendering in Firefox -

Java 8 + Maven Javadoc plugin: Error fetching URL -

order - Notification for user in user account opencart -