首页 \ 问答 \ Bing语音和Bing地图在Windows 8商店应用中存在冲突(Bing Speech and Bing Maps conflicting in Windows 8 Store app)

Bing语音和Bing地图在Windows 8商店应用中存在冲突(Bing Speech and Bing Maps conflicting in Windows 8 Store app)

当在win8系统中引用bing语音时,Bing映射非常有用(适用于win8.1系统)。 在veapicore.js和veapiModules.js中有窗口[$ MapsNamespace]。 当引用spech和map时,映射从不在命名空间中初始化。 只有语音存在。地图名称空间只有2个dll文件,由bing语音引用。 这仅在Windows 8系统中发生。 在8.1中,我们在maps命名空间中获得语音和地图。 对此有什么解决方案吗?


Bing maps dosent work when bing speech is also referenced in a win8 system(works for win8.1 system). In veapicore.js and veapiModules.js there is window[$MapsNamespace]. When both spech and maps are referenced maps is never intialized in the namespace. Only speech is present which.The maps namespace has only 2 dll files which is refernced by bing speech. This happens only in a Windows 8 system. in 8.1 we get both speech and maps in the maps namespace. Is there any solution to this.


原文:https://stackoverflow.com/questions/29397867
更新时间:2024-01-12 14:01

最满意答案

nm <binary>会告诉你哪些符号被定义,更重要的是,这些符号被给定的二进制使用。 您可以通过检查输出中列出哪个pollselect来获得保守的猜测。

您可能会发现您的应用程序与两者都有关联。 在这种情况下,它可能会作出运行时间决定,哪一个要调用,如果你运行它,你将无法轻易地知道它实际使用哪一个。

根据构建二进制文件的方式,您可能必须使用-D标志运行nm ; 或者你可能需要确保你没有指定-D 。 尝试两种方式。

如果程序使用共享库,实际的pollselect调用可能在它正在使用的库中。 在这种情况下,您可能需要挖掘其每个库上运行nm所有库。 您可以通过在readelf --dynamic的输出中readelf --dynamic NEEDED条目来找出程序使用ldd库,或者如果这样做不起作用。

如果二进制文件是针对与当前运行的平台不同的平台构建的,那么ldd将不起作用,并且您可能必须使用交叉编译器构建binutils才能获得适用于您的nm版本。


nm <binary> will tell you which symbols are defined and, more importantly here, which symbols are used by the given binary. You can get a conservative guess by checking which of poll or select are listed in the output.

You may find that your application is linked against both. In that case it may be making a run-time decision on which one to call, and you won't be able to easily tell which one it would actually use if you ran it.

Depending on how the binary was built, you may have to run nm with the -D flag; or you may need to ensure you don't specify -D. Try both ways.

If the program uses shared libraries, the actual call to poll or select could be in a library it's using. In that case, you may have to dig through all of its libraries running nm on each of them. You can find out which libraries a program uses with ldd, or if that doesn't work, by looking for the NEEDED entries in the output of readelf --dynamic.

If the binary was built for a different platform than you're currently running on, then ldd won't work, and also you may have to use a cross-compiler build of binutils to get a version of nm that will work for you.

相关问答

更多
  • find
  • Unix在文本和二进制文件之间没有区别,这就是为什么你可以将它们放在一起: cat file1 file2 > target_file Unix has no distinction between text and binary files, which is why you can just cat them together: cat file1 file2 > target_file
  • 您可以使用readelf来浏览ELF头。 readelf -d将直接依赖关系列为“ NEEDED部分。 $ readelf -d elfbin Dynamic section at offset 0xe30 contains 22 entries: Tag Type Name/Value 0x0000000000000001 (NEEDED) Shared library: [libssl.so.1.0.0] ...
  • POSIX-ly正确的方式: cmd=$(command -v whatever) The POSIX-ly correct way: cmd=$(command -v whatever)
  • 请参阅此前的讨论( https://stackoverflow.com/questions/10414328/static-analyzer/10416352 )。 免责声明:在我建立的LinkedIn静态分析小组中有一个链接可以进行讨论 (需要注册,对不起,我是批准会员请求的后面),其中提到了我的几篇文章 。 See the earlier discussion here (https://stackoverflow.com/questions/10414328/static-analyzer/10416 ...
  • nm 会告诉你哪些符号被定义,更重要的是,这些符号被给定的二进制使用。 您可以通过检查输出中列出哪个poll或select来获得保守的猜测。 您可能会发现您的应用程序与两者都有关联。 在这种情况下,它可能会作出运行时间决定,哪一个要调用,如果你运行它,你将无法轻易地知道它实际使用哪一个。 根据构建二进制文件的方式,您可能必须使用-D标志运行nm ; 或者你可能需要确保你没有指定-D 。 尝试两种方式。 如果程序使用共享库,实际的poll或select调用可能在它正在使用的库中。 在这种情况下 ...
  • if [ `which "$1"` != "" ]; then 当它找到二进制时它不会返回"" 。 if [ `which "$1"` != "" ]; then which won't return "" when it finds the binary.
  • 好吧,看来@NominalAnimal说的是正确的。 您可以将二进制数据存储在字符串中,但是当您在string.h库中使用任何函数时,它几乎总是会更改存储在该字符串中的内容(如果数据是二进制的)。 简单的解决方案是创建一个单独的函数,该函数接收指向二进制数据的指针并在该函数中执行字符串搜索,返回所需的相关信息。 这样,原始数据永远不会改变。 Ok, it appears what @NominalAnimal said was correct. You can store binary data in a ...
  • 调用图本身就是这样; 没有“错误的”调用图(除非你有一个样式检查禁止递归)。 真正的问题是,为了理解程序中某个代码的代码可能存在问题,您通常需要了解世界的形状(数据结构是什么,它们可能包含哪些值,它们可能具有什么样的关系)。代码点处于活动状态的时刻。 调用图显示了执行如何到达感兴趣的代码点,并且该调用图路径中的所有代码都设置了代码执行上下文。 这使静态分析仪能够产生“上下文敏感”分析,从而提供更准确的答案。 这导致了第二个问题:如何获得准确的调用图? 如果您从A直接调用B,则很容易记下“A调用B”并认为这是 ...
  • system()的返回值,十进制32512,是十六进制的7F00。 这个值与0x7F非常相似,如果/bin/sh无法执行,则是0x()的结果。 似乎字节排序存在一些问题(大/小端)。 很奇怪。 更新:在编写答案时,您编辑了问题并提取了有关/system/bin/busybox 。 可能你根本就没有/bin/sh 。 The return value of system(), 32512 decimal, is 7F00 in hex. This value is strangely similar to 0 ...

相关文章

更多

最新问答

更多
  • 在ios 7中的UITableView部分周围绘制边界线(draw borderline around UITableView section in ios 7)
  • Java中的不可变类(Immutable class in Java)
  • 寻求多次出现的表达式(Seeking for more than one occurrence of an expression)
  • linux只知道文件名,不知道在哪个目录,怎么找到文件所在目录
  • Actionscript:检查字符串是否包含域或子域(Actionscript: check if string contains domain or subdomain)
  • 懒惰地初始化AutoMapper(Lazily initializing AutoMapper)
  • 使用hasclass为多个div与一个按钮问题(using hasclass for multiple divs with one button Problems)
  • Windows Phone 7:检查资源是否存在(Windows Phone 7: Check If Resource Exists)
  • EXCEL VBA 基础教程下载
  • RoR - 邮件中的动态主体(部分)(RoR - Dynamic body (part) in mailer)
  • 无法在Google Script中返回2D数组?(Can not return 2D Array in Google Script?)
  • JAVA环境变量的设置和对path , classpth ,java_home设置作用和目的?
  • mysql 关于分组查询、时间条件查询
  • 如何使用PowerShell匹配运算符(How to use the PowerShell match operator)
  • Effective C ++,第三版:重载const函数(Effective C++, Third edition: Overloading const function)
  • 如何用DELPHI动态建立MYSQL的数据库和表? 请示出源代码。谢谢!
  • 带有简单redis应用程序的Node.js抛出“未处理的错误”(Node.js with simple redis application throwing 'unhandled error')
  • 使用前端框架带来哪些好处,相对于使用jquery
  • Ruby将字符串($ 100.99)转换为float或BigDecimal(Ruby convert string ($100.99) to float or BigDecimal)
  • 高考完可以去做些什么?注意什么?
  • 如何声明放在main之后的类模板?(How do I declare a class template that is placed after the main?)
  • 如何使用XSLT基于兄弟姐妹对元素进行分组(How to group elements based on their siblings using XSLT)
  • 在wordpress中的所有页面的标志(Logo in all pages in wordpress)
  • R:使用rollapply对列组进行求和的问题(R: Problems using rollapply to sum groups of columns)
  • Allauth不会保存其他字段(Allauth will not save additional fields)
  • python中使用sys模块中sys.exit()好像不能退出?
  • 将Int拆分为3个字节并返回C语言(Splitting an Int to 3 bytes and back in C)
  • 在SD / MMC中启用DDR会导致问题吗?(Enabling DDR in SD/MMC causes problems? CMD 11 gives a response but the voltage switch wont complete)
  • sed没有按预期工作,从字符串中间删除特殊字符(sed not working as expected, removing special character from middle of string)
  • 如何将字符串转换为Elixir中的函数(how to convert a string to a function in Elixir)