本文介绍了[UWP]用C#调用C ++ RT的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时删除!!


 我是Windows技术的新手。

 I new to windows technologies.


 我已经从"Windows运行时组件(通用Windows)"创建了C ++ RT项目。当我从C#调用时,我收到运行时错误。 (因为C ++上定义的类无法找到)。构建非常好。

 I have created C++ RT Project from "Windows Runtime Component (Universal Windows)" and when I invoke from C# I am getting runtime error. (as defined class over C++ not able to find). Build was quite fine.


我按照下面的链接创建RT组件并从C#调用对象。

I followed the link below to create RT Component and invoke object from C#.


  http://www.i-programmer.info/programming/winrt/3172-building-and-using-winrt-components.html

  http://www.i-programmer.info/programming/winrt/3172-building-and-using-winrt-components.html


 我想要的全部:

 All I want:


   我有C库我想在Win10应用程序中使用它与C#,JS,VB#。有人建议我转换成C ++ RT并轻松地与C#应用程序集成。  我不确定它有多少真实。  这就是为什么我写了一些示例C ++
RT并在C#中调用但我无法成功。请提供一些建议。 

    I have C library I want to use this in Win10 application with C#, JS, VB#. Some one suggested me that Convert into C++ RT and easily integrate with C# apps.  I not sure how much true it is.  that's why I wrote some sample C++ RT and invoking in C# but I could not success. Please provide some suggestions. 


   有什么帮助?

    Any help ?



谢谢

推荐答案

为什么找不到,你添加了参考文献吗?

Why cannot find, have you added the reference?


这篇关于[UWP]用C#调用C ++ RT的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

1403页,肝出来的..

09-07 00:16