--- In [email protected], "Ted Wall" <[EMAIL PROTECTED]> wrote:
>
> "I'll add this to a future version of file..."
>
> Thanks Bruce, looking for the file version since I couldn't do this
> using the ShellExecuteEx API. The ShellExecuteEx API needs a minimum
> of 10 arguments using dll plugin (a minimum of 9 arguments in the
> structure plus the definition for the dll) and powerpro only allows
> 8, unless I'm missing something...
You can use the argument separator, defaulting to |. I did a quick
test with the following, but it failed in my system with the error
code ERROR_ACCESS_DENIED. You may correct it:
local sVerb="properties"
local sFile=?"C:\WINDOWS\explorer.exe"
local sParam
local sWork
local hinst
local sei=dll.create_struct("ui ui ui s s s s i i",
36,0x44C,"","sVerb|sFile|sParam|sWork",1,"hinst")
win.debug(dll.call("shell32.dll|ShellExecuteEx|t* i",sei),hinst)
Sean
Attention: PowerPro's Web site has moved: http://www.ppro.org
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/power-pro/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/