找不到dll入口点 shell_notifyiconA in shell32.dll

aiur2000 2003-09-08 11:28:39
找不到dll入口点 shell_notifyiconA in shell32.dll
是什么出错了???
我有shell32.dll,指定位置也不对,请大家帮帮忙
...全文
54 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
jlum99 2003-09-08
  • 打赏
  • 举报
回复
DLL 都有个import table,所有的函数都在这个表里.申明就是个定位的过程.
道素 2003-09-08
  • 打赏
  • 举报
回复
那就是shell32版本问题,比如有些api2000可以用但是98没有
aiur2000 2003-09-08
  • 打赏
  • 举报
回复
嗯,去掉Alias "Shell_NotifyIconA"就可以运行了,是什么原因呢,能否解释一下。
jlum99 2003-09-08
  • 打赏
  • 举报
回复
有可能是申明的问题,把那个Alias "Shell_NotifyIconA" 去掉,直接用Shell_NotifyIconA 如果情况相反的话就这样
Declear Function Shell_NotifyIcon Lib "shell32" Alias "Shell_NotifyIconA" (...) As Long
yunfeng007 2003-09-08
  • 打赏
  • 举报
回复
如果你是从api文本浏览器中直接拷贝过来的,就会报这个错误。这个是api浏览器的一个bug.
Public Declare Function Shell_NotifyIcon Lib "shell32.dll" Alias " Shell_NotifyIconA" (ByVal dwMessage As Long, lpData As NOTIFYICONDATA) As Long
Shell_NotifyIconA前多了一个空格,将之删除就行了。

1,485

社区成员

发帖
与我相关
我的任务
社区描述
VB API
社区管理员
  • API
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧