[Lazarus] helphtml example
waldo kitty
wkitty42 at windstream.net
Thu Mar 18 20:12:18 CET 2010
On 3/18/2010 14:13, Vincent Snijders wrote:
> Mattias Gaertner schreef:
>> Any windows user out there who knows how to find the right rundll on
>> all windows platforms?
>
> I don't know, but we could try something like
> AppendPathDelim(GetEnvironmentVariable('WinDir'))+'system32\rundll.exe'
> first.
that should work on NT based versions of windows... however, as i just wrote in
another post, win9x installs have rundll32.exe in the "WinDir" so, a test is
necessary...
maybe something like
{* winNT style rundll32 location test *}
if exist(AppendPathDelim(GetEnvironmentVariable('WinDir'))+'system32\rundll.exe')
foo;
else
{* win9x style rundll32 location test *}
if exist(AppendPathDelim(GetEnvironmentVariable('WinDir'))+'rundll.exe')
bar;
i placed the winNT one first because it is likely the most commonly executed on ;)
HTH
More information about the Lazarus
mailing list