--- In [email protected], "jbkilian" <[EMAIL PROTECTED]> wrote:
> > No. You don't have to worry about memory. Simply define a variable.
Yes you do, if by any chance fpath is gonna be filled by a large string.
The arg in question ,docs say should be MAX_PATH = 260
long, so I'd do
local fpath
dll.call("shell32|SHGetFolderPathA|ui ui ui ui s260",0,13,0,0,"fpath")
or
local fpath = repeat(" ", 261)
dll.call("shell32|SHGetFolderPathA|ui ui ui ui s",0,13,0,0,"fpath")
Read up on <bufsize> in docs
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/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/power-pro/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
<*> 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/