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
最满意答案
nm <binary>
会告诉你哪些符号被定义,更重要的是,这些符号被给定的二进制使用。 您可以通过检查输出中列出哪个poll
或select
来获得保守的猜测。您可能会发现您的应用程序与两者都有关联。 在这种情况下,它可能会作出运行时间决定,哪一个要调用,如果你运行它,你将无法轻易地知道它实际使用哪一个。
根据构建二进制文件的方式,您可能必须使用
-D
标志运行nm
; 或者你可能需要确保你没有指定-D
。 尝试两种方式。如果程序使用共享库,实际的
poll
或select
调用可能在它正在使用的库中。 在这种情况下,您可能需要挖掘其每个库上运行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 ofpoll
orselect
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
orselect
could be in a library it's using. In that case, you may have to dig through all of its libraries runningnm
on each of them. You can find out which libraries a program uses withldd
, or if that doesn't work, by looking for theNEEDED
entries in the output ofreadelf --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 ofbinutils
to get a version ofnm
that will work for you.
相关问答
更多-
LINUX 如何查看JPG文件[2022-06-13]
find -
如何将几个二进制文件复制到Linux系统上的一个文件中?(How can I copy several binary files into one file on a Linux system?)[2022-09-23]
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 -
如何找到Linux(ELF)二进制文件的直接共享对象依赖关系?(Determine direct shared object dependencies of a Linux binary?)[2022-05-31]
您可以使用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] ... -
找到没有它的二进制路径(Find path to binary without which)[2022-08-19]
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调用可能在它正在使用的库中。 在这种情况下 ... -
Linux查找二进制文件(Linux Find Binary File)[2022-05-05]
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”并认为这是 ...
-
为什么系统调用失败?(Why does system call fails?)[2022-02-20]
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 ...