zlib for WinRT? [英] zlib for WinRT?

查看:301
本文介绍了zlib for WinRT?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要用于开发Windows应用商店的zlib库。

I require zlib library for the development of Windows Store app.

是否有人将Win32 zlib项目转换为WinRT?

Has anyone converted Win32 zlib project to WinRT yet?

任何人都可以描述将现有win32静态库项目转换为winRT的步骤。

Can anyone please describe the steps to convert the existing win32 static lib project to winRT?

推荐答案

Visual C ++已经是WinRT开发的支持语言,如果你不想使用zlib,只需与你的解决方案一起编译。没有什么阻止你从WinRT中重用标准ISO C和C ++库,如果你使用C ++语言,你可能必须暴露你的库的某些方面作为WinRT组件,但只有当你需要与设施接口像XAML或其他WinRT语言,但应该是在公园散步。

Visual C++ is already a supported language for WinRT development, if you wan't to use zlib, just compile it together with your solution. There is nothing that is preventing you from reusing standard ISO C and C++ libraries from within the WinRT, if you are using the C++ language, you might have to expose certain aspects of your library as WinRT Components but only if you need to interface with facilities like XAML or other WinRT languages but that should be a walk in the park. Not something which is tremendously difficult to do.

在WinRT中支持C ++的重点是允许将大部分原生应用程序的现有生态系统移植到Windows应用商店。 zlib不是一个例外。不支持非标准ISO C和C ++(如套接字),但您可以插入其他选项,只需检查您使用的库是否有某种可移植性支持。

The whole point of supporting C++ in the WinRT is to allow an existing ecosystem of largely native applications to be ported to the Windows Store. zlib is not an exception. Non-standard ISO C and C++ such as sockets are not supported but there you have alternatives that you can plug-in to, just check that the library you're using has some kind of portability support.

这篇关于zlib for WinRT?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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