链接静态Windows运行时组件库和Win32静态库 [英] Linking Static Windows Runtime Component libs and Win32 Static libs

查看:89
本文介绍了链接静态Windows运行时组件库和Win32静态库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




Hi,

我有一些"n"遗留"C"的数量Win32静态库。这些库与另一组静态链接  C ++ Win32 libs并最终将它们作为一个单独的DLL转换为cleint。

I have some "n" number of legacy "C" Win32 Static libs. These libs are statically linked with another set  of C++ Win32 libs and finally turning them as one single DLL which is shiped to cleint.

为了支持ARM处理器,我计划将代码移植为WINRT兼容。

Inorder to support ARM processors i have planned to port code as WINRT compliant.

我已经确定只有一个静态的"C"。 lib底层需要移植到我已经完成的WinRT。

I have identified that only one static "C" lib underlying need to be ported to WinRT which i have done.

我已经用ARM配置编译了所有其他的lib(意思是,将一些预处理器转换为_WIN_RT_DLL以及一些对WIndows运行时库的引用)自动使用VS2012)

I have compiled all other libs with ARM configuration ( meaning , chaning some preprocessors to _WIN_RT_DLL and some references to WIndows Runtime libaries which comes automatically with VS2012)

现在,当我如上所述链接这些库,然后尝试从metro应用程序访问Final DLL时,我收到一条错误,提示拒绝访问。

Now, when i link these libs as mentioned above and then try to access Final DLL from the metro app i get an error saying Access Denied.

我允许的程序是允许的吗?

Is that procedure which i fallowed is allowed ?

谢谢和问候

-S

推荐答案

可能是您的最终dll依赖于其他未找到或不兼容的内容

May be your final dll is dependent on something else which is not found or incompatible

请使用依赖关系进行检查Walker   是否每个组件都可用且兼容。

Please check by using Dependency Walker   whether every component is available and compatible.


这篇关于链接静态Windows运行时组件库和Win32静态库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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