DecodePointer无法位于kernel32.dll Windows 2000 Server中 [英] DecodePointer could not be located in kernel32.dll Windows 2000 Server

查看:92
本文介绍了DecodePointer无法位于kernel32.dll Windows 2000 Server中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的应用程序是在VS2010 [c ++]中编译的。在Windows2000 Server Sp4中启动应用程序会抛出错误弹出窗口 - Decodepointer无法在kernel32.dll中找到。谷歌没有帮助。有没有人见过这样的问题。欢迎并欢迎所有建议。



谢谢,

Sajith

My Application is compiled in VS2010 [c++]. Starting the application in Windows2000 Server Sp4 throws error popup saying - "Decodepointer could not be located in kernel32.dll". Google did not help. Have any one seen such problem before. All suggestions are welcome and appreciated.

Thanks,
Sajith

推荐答案

DecodePointer是Windows XP SP2附带的功能,Windows 2000不支持您编译的软件是否适用于Windows 2000?





http://msdn.microsoft.com/en-us/ library / bb432242%28VS.85%29.aspx [ ^ ]
DecodePointer is a function which comes with Windows XP SP2 and is not supported on Windows 2000 Have you compiled software which is not suited for Windows 2000?


http://msdn.microsoft.com/en-us/library/bb432242%28VS.85%29.aspx[^]


如果您正在构建一个需要在Windows的下行版本(或旧版本的Internet Explorer)您需要注意_WIN32_WINNT和_WIN32_IE的设置。这些指定了编译器在目标系统上支持的最小OS和IE。



这是我用来Vista的最低支持:



If you are building an app that needs to run on a down-rev version of windows (or an old version of Internet Explorer) you need to pay attention to the settings of _WIN32_WINNT and _WIN32_IE. These specify to the compiler what minimum OS and IE will be supported on target systems.

Here is what I use for minimum support of "Vista":

#define _WIN32_WINNT    _WIN32_WINNT_VISTA  // We are Vista
#define _WIN32_IE       _WIN32_IE_IE80      // IE 8.0





我会将Windows 2000设置作为读者练习。 MS文档应该会有所帮助。



这些定义通常放在stdafx.h文件中,这个文件(微软的意图)包含在每个.cpp中文件。



我想你会发现,如果你这样做,你会得到错误,说符号DecodePointer不存在,并且消息将指向您的代码需要更改的位置。



I''ll leave the Windows 2000 setting as an "exercise for the reader." The MS docs should be helpful.

These definitions are typically placed in the stdafx.h file, which is (by Microsoft''s intention) included in every .cpp file.

I think you''ll find that if you do this you will get errors saying that "symbol DecodePointer" does not exist, and the message(s) will point to where your code needs to change.


这篇关于DecodePointer无法位于kernel32.dll Windows 2000 Server中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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