如何将win32库转换为winrt库 [英] how do I convert a win32 library into a winrt library

查看:86
本文介绍了如何将win32库转换为winrt库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,



我有一个用C ++编写的win32库(dll),我想把它重新定位到winrt。



我可以这样做吗?请帮帮我怎样才能实现。

解决方案

你做不到。对于图书馆来说,没有转换这样的东西。如果您的原始库完全从UI和其他特定于平台的东西中抽象出来,您可能可以直接使用它;这取决于它是什么。如果您有此库的源代码,您可能只需相应地修改它,具体取决于它是什么。



-SA

Hi there,

I have a win32 library(dll) written in C++ and I want to re-target it to winrt.

Can I do so? please help me how could I make it happened.

解决方案

You cannot. There is no such thing as "convert", for a library. If your original library is totally abstracted from UI and other platform-specific stuff, you probably could use it directly; it depends on what it is. If you have source code for this library, you could probably just modify it accordingly, again, depending on what it is.

—SA


这篇关于如何将win32库转换为winrt库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆