They are not allowed:
https://docs.microsoft.com/en-us/cpp/cppcx/crt-functions-not-supported-in-universal-windows-platform-apps?view=vs-2019

"These were obsolete functions in previous CRT versions. Also, user cannot load
DLLs except from those in the same application package."
---
 mingw-w64-headers/crt/process.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/mingw-w64-headers/crt/process.h b/mingw-w64-headers/crt/process.h
index 3de9c649..6c18e3e7 100644
--- a/mingw-w64-headers/crt/process.h
+++ b/mingw-w64-headers/crt/process.h
@@ -132,9 +132,11 @@ extern "C" {
 #endif
   extern uintptr_t __security_cookie;
 
+#if _CRT_ALLOW_API_FAMILY_DESKTOP
   intptr_t __cdecl _loaddll(char *_Filename);
   int __cdecl _unloaddll(intptr_t _Handle);
   int (__cdecl *__cdecl _getdllprocaddr(intptr_t _Handle,char 
*_ProcedureName,intptr_t _Ordinal))(void);
+#endif /* _CRT_ALLOW_API_FAMILY_DESKTOP */
 
 #ifdef _DECL_DLLMAIN
 #ifdef _WINDOWS_
-- 
2.17.1



_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to