Suppress Windows Default MessageBox

Discussion in 'Win32' started by ktckd9, Jul 27, 2010.

  1. ktckd9

    ktckd9 New Member

    Joined:
    Jul 27, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Hi
    I a working on a Win32 application and it depends on a dll to be installed on the system. When this dll is missing it gives out a message box 'suppress messagebox "Unable to Locate Component" - This application has failed to start because xyz.dll was not found. Re-installing the application may fix this problem.

    Can I suppress this messagebox and display my own custom message ( I want to do my own check and display proper instructions).

    Thanks
     
  2. NewsBot

    NewsBot New Member

    Joined:
    Dec 2, 2008
    Messages:
    1,267
    Likes Received:
    2
    Trophy Points:
    0
    You have to do this using a dummy executable file which starts and checks everything and then starts your main application.

    The dummy executable checks the needed DLLs and then gives the needed messages.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice