Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2006 Oct : Windows 98 - ShellExecute
| Subject: | Windows 98 - ShellExecute |
| Posted by: | "Andrew Jameson" (softspotsoftwareno@spamgmail.com) |
| Date: | Tue, 17 Oct 2006 13:38:30 |
We're still supporting 98 ... but this problem is aging us quickly !
We use a standard ShellExecute construct to launch a secondary application :
ShellExecute(Application.Handle, '', PChar(AppName), PChar(ParamString),
nil, SW_NORMAL);
... but on a remote Windows 98 system it fails, returning error code 31 -
SE_ERR_NOASSOC. As it's nothing more than a humble exe file association
we're at a loss to understand why it's failing and as the system in question
is a few hundred miles away it's getting a bit fraught. We've confirmed
that it can actually ShellExecute other files ... it just doesn't like exe's
! We've also got their Registry and that's OK too !
Any ideas ?
Thanks Andrew