Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

App will only launch with Task Manager

4 views
Skip to first unread message

John Taylor

unread,
Jun 17, 2008, 11:17:53 AM6/17/08
to
Hello All,

I have a very curious problem, I'm hoping someone here can help...

The app is written in Delphi 5, we have thousands of users without this
problem but a very few (3 last count) with this problem...

The application cannot be launched by double clicking the desktop icon
or the exe name in Windows explorer. No error message, no splash screen,
nothing. Task manager will sometimes show the exe name in the list of
running processes, sometimes not. When it does, you cannot switch to it,
it is as if it's not running. They can, however, use Task Manager's menu
item
File | New Task... select the exe file and the application will launch
properly
but this is the only way the application can be successfully launched by the
few users having this problem.

Also, when the application is set in the registry's run section to load at
windows
startup it will not load.

Does anyone know what would cause this behavior and what the heck does
Task manager do differently when launching an application ?

Thanks ! I'm desperate to get this resolved and cannot reproduce the
problem on any machine we have here.

John Taylor


David J Taylor

unread,
Jun 18, 2008, 3:03:57 AM6/18/08
to
John Taylor wrote:
> Hello All,
[]

> The application cannot be launched by double clicking the desktop icon
> or the exe name in Windows explorer. No error message, no splash
> screen, nothing. Task manager will sometimes show the exe name in
> the list of running processes, sometimes not. When it does, you
> cannot switch to it, it is as if it's not running. They can,
> however, use Task Manager's menu item
> File | New Task... select the exe file and the application will launch
> properly
> but this is the only way the application can be successfully launched
> by the few users having this problem.
[]
> John Taylor

John,

Could it be something in the program's initialisation, or perhaps the
current directory it is launched from? However, I don't know what is
different about Task Manager....

David


Ronald Hoek

unread,
Jun 18, 2008, 7:42:37 AM6/18/08
to
Have you tried to use the "start myapp.exe" from the commandprompt?

- Maybe you're app is running from an account with lesser rights?

Which OS is running - Vista? Then the Taskmanager might be running from
administrator account thus having more rights...


(I'm just making suggestions/guesses)

--
Regards,

Ronald Hoek

Applicationdevelopper
ComponentAgro B.V.

John Taylor

unread,
Jun 18, 2008, 10:09:45 AM6/18/08
to
My app doesn't and shouldn't require admin rights, it would seem to me
that task manager would be restricted to the user account it is being
run under.


"Ronald Hoek" <none> wrote in message
news:4858...@newsgroups.borland.com...

John Taylor

unread,
Jun 18, 2008, 10:10:52 AM6/18/08
to
You would think it would be in the initialization but it would certainly
seem that
the init would be the same when launched by TM and again only 3 of these
problems out of literally thousands of users.


"David J Taylor" <david-...@blueyonder.co.not-this-bit.nor-this-part.uk>

wrote in message news:4858...@newsgroups.borland.com...

0 new messages