简体   繁体   English

windows Mobile 6.x 应用程序中的 boost 库

[英]boost library in windows Mobile 6.x app

Has anyone been able to use Boost in a windows mobile 6.x app?有没有人能够在 windows 移动 6.x 应用程序中使用 Boost? More specifically I want to use Thunk32 for creating a callback to a Non-static Member Function.更具体地说,我想使用Thunk32创建对非静态成员 Function 的回调。 But it uses some complicated Boost casting methods that will not compile under mobile projects.但它使用了一些复杂的 Boost 转换方法,这些方法在移动项目下无法编译。

Windows Mobile has a crippled implementation of the standard library. Windows Mobile 有一个标准库的残缺实现。 You will have to use a more complete version.您将不得不使用更完整的版本。 I personally use STLPort .我个人使用STLPort Using that, most of Boost will work fine.使用它,大多数 Boost 都可以正常工作。 I do still have trouble using some of the libraries that are not header-only, though.不过,我在使用一些不是仅标头的库时仍然遇到问题。

Also, that Thunk32 library you pointed to will probably need to be modified for ARM.此外,您指向的那个 Thunk32 库可能需要针对 ARM 进行修改。 The assembly code used is x86.使用的汇编代码是 x86。

-PaulH -保罗H

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM