请大神帮我看下这个函数的参数要怎么写?

qq_34021039 2016-03-31 09:35:26
这是函数声明
Function Ulong FindWindowB(Ulong classname,String windowname) Library "user32.dll"
Function Long SetParent(Long childwin,Long parentwin) Library "user32.dll"

这是程序中的代码
Ulong handle
Ulong nul
handle=FindWindowB(nul,"地图测试")
If handle>0 Then
Return
Else
run("E:\\Projects\\Volador3000\\mapApp\\map.exe" + " " + g_str_user_id + " " + string(handle(w_smartpas)))
End If
handle=FindWindowB(nul,"地图测试")
Setparent(handle,handle(w_smartpas))

这是错误警告


我的目的是想修复软件中的一个BUG,pb程序调用外部一个exe文件,每次点击打开图标都会打开同一个文件
...全文
119 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
qq_34021039 2016-03-31
  • 打赏
  • 举报
回复
已解决!谢谢
qq_34021039 2016-03-31
  • 打赏
  • 举报
回复
在线等啊在线等~!

680

社区成员

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

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