Click here to Skip to main content
16,018,353 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I writing a windows app using Universal Windows Platform for GUI. But current the app need to call some functions in a library that is written in ANSI C.

What I have tried:

I have searched, but I found only for C++
Creating a basic Windows Runtime component in C++ and calling it from JavaScript or C# - UWP app developer | Microsoft Docs[^]
Other ways are build C++ code as static/dynamic library(.lib/dll) and include in UWP project.
May be it's same as with ANSI C.
How can I do that? It's very helpful if have a link to show how to do this.
Thanks.
Posted
Updated 8-Mar-18 21:10pm
v2
Comments
Afzaal Ahmad Zeeshan 9-Mar-18 12:36pm    
Most of the COM based calls, are disabled because they can cause a security related issue. Please see: https://msdn.microsoft.com/en-us/library/mt186162.aspx

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900