This application failed to start...

From: Tito Serenti (serenti_at_operamail.com)
Date: 12/23/03


Date: Tue, 23 Dec 2003 19:17:31 -0000

I'd like to ask if there is any way of displaying my own message instead of
the default "This application failed to start because xx.dll was not
found...". I'm statically linking the dll in my program, which is supposed
to be very small and use most of the functions from the dll. It's a base for
an program upgrade system, where the DLL will be sent ahead of time with the
main program, and the small EXE will be later used as a package for
upgrading the already installed files. So, the idea is to include all of the
necessary functions (decompression, etc) in the DLL that's sent ahead of
time. When the user starts the upgrade EXE, and the DLL is not found, it
should say something like "Cannot install the upgrade because the program xx
is not installed."
I could link all those functions from the DLL dynamically, but I was hoping
to avoid this, because it'll be a lot of work just for the sake of the
properly handled error message. So I'd like to find a way of linking it
statically and still being able to display my own message instead of
Windows' default. Is it possible?

Thank you for your contributions.

Tito



Relevant Pages

  • SP2 & Media Player Installation Error
    ... Since the upgrade i have noticed that Mediaplayer does ... When opened media player starts by displaying a ... Because there is nothing to install it just stays on the ... Any ideas on how to fix this would be most helpful. ...
    (microsoft.public.windowsxp.basics)
  • Re: SP2 & Media Player Installation Error
    ... Since the upgrade i have noticed that Mediaplayer does ... When opened media player starts by displaying a ... Because there is nothing to install it just stays on the ... Any ideas on how to fix this would be most helpful. ...
    (microsoft.public.windowsxp.basics)
  • cannot copy I386MFC42 DLL
    ... when I try to install XP upgrade on my 98 I get the ... Setup cannot copy E:\I386\MFC42 DLL to ...
    (microsoft.public.windowsxp.setup_deployment)
  • Re: When were scanf_s functions introduced?
    ... My knowledge of doing complicated MSI setup apps is fairly limited, ... installers, one that is a "full install" (includes everything and will be ... then the amount of space for the CRT ... the CRT dll MSVCR80.dll? ...
    (microsoft.public.platformsdk.security)
  • Re: When were scanf_s functions introduced?
    ... one that is a "web install" (checks dependencies and only downloads those that are missing, ... then the amount of space for the CRT installer is probably not going to matter much and ... the CRT dll MSVCR80.dll? ... Say I have several different apps to deploy. ...
    (microsoft.public.platformsdk.security)