in reply to Re: A little help with Win32::API? (cleanup)
in thread A little help with Win32::API?
Thanks for the code - it's beautiful :) And it works.
Well, almost. The %INSTALLSTATE_DESC in your code gets initialized as { "INSTALLSTATE_NOTUSED" => "description", ... }, however MsiGetShortcutTarget() return integer. I guess the +INSTALLSTATE_NOTUSED hash init doesn't do what you intended on my machine (AS Perl 5.10.0, MSWin32, osvers=5.00, archname=MSWin32-x86-multi-thread) (I've never seen this technique)
Other improvements can be made to this code I noticed:
But I do get the path, and that's what I wanted to just quickly do.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: A little help with Win32::API? (cleanup)
by ikegami (Patriarch) on Apr 25, 2010 at 16:11 UTC | |
by flamey (Scribe) on Apr 26, 2010 at 14:31 UTC |