不知道怎么了,我的SmarTchecK不能工作了,打开什么程序都是:
API failure
GetModuleHandleA returned 0x00000000
LastError: 找不到指定的模块。 (126)
不知道这是什么意思,是缺少什么吗。我是在论坛上下的啊,配置也是按论坛教程上面配置的。
这是SmarTchecK帮助上面说的,不知道我理解的对不对。意思是:程序自己的问题,有些函数的参数或者状态出了问题,要么我自己修复,要么就是我故意出现这样的错误的。
Description
An API function returned a failure status.
Note that an API failure may not indicate an error in your program. Some calls to API functions are expected to fail, and the calling program deals with the failure appropriately. An API failure is only an error if your program does not provide for the failure condition.
Visual Basic Sample Code
Sub WinFuncFailed()
'Windows API function returns failure
Dim lhBitMap As Long
'Both Module and Bitmap are invalid
lhBitMap = LoadBitmap(GetModuleHandle(""), "Missing.bmp")
End Sub
Probable Causes
Passing an argument that is inappropriate for the function
An invalid API call or sequence of API calls
Use of an API not supported on the operating system (Windows NT, Windows 98, Windows 95 or Windows CE)
Repair
If an API fails and the return value is not checked, other sections of the program might not behave properly. Some suggested courses of action are:
Check the return code for more information as to why the API failed. For a complete description of the error codes, refer to the Win32 API Help File.
Place conditionals around the API so a failure is handled properly by your program. If you already have conditionals around the API, you may want to suppress the error.
出错提示: