pb的api问题!
我是这样做的:
选择菜单Declare->Global External Functions 然后输入:
FUNCTION ulong ShellExecute(ulong hwnd,ref string lpOperation,ref string lpFile,ref string lpParameters,ref string lpDirectory,ulong nShowCmd) LIBRARY "shell32.dll" ALIAS FOR "ShellExecuteA"
在对应的菜单的click()事件中这么写
string lpOperation,lpFile,lpParameters,lpDirectory
setnull(lpOperation)
setnull(lpParameters)
setnull(lpDirectory)
lpFile="http://www.sina.com.cn" //要连接的地址
ShellExecute(handle(this),lpOperation,lpFile,lpParameters,lpDirectory,0)
请问有人知道为什么在win98下能实现功能, 在win2000下就没有任何的反应了?

