WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

DLLs

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

Suppressing Missing WIL DLL Messages

 Keywords: Suppress Hide Missing WIL WBD DLL Message DLL not found in path

Question:

We have all WinBatch errors saved to a file in all of our code, except for one. In some cases, newer versions of WinBatch compiled code gets to users before the WIL DLL is placed on the seat by Electronic Software Distribution (ESD). Yeah, I might be able to go yell at the ESD team, but I am being bugged to make our mistake invisible.

Is there a setting or something I can do so that a small WB script that can't find its main DLL will just quit and not flash on the screen? Yeah, writing to a file or the event log would be nice but at this point just being silent is all I need to do.

Answer:

If the main DLL is missing, the WinBatch script cannot be interpreted, so the answer would have to lie within the exe wrapper created by the compiler. There is currently no option to suppress the "DLL not found in path" error when a small compiled WinBatch script cannot find the main DLL. Currently the only solutions that I can suggest are:
  1. Include all DLLs with every script.

  2. Create your own wrapper using a BAT file to check the WinBatch DLL status.

Article ID:   W17801
Filename:   Suppressing Missing WIL DLL Messages .txt
File Created: 2009:06:24:11:20:56
Last Updated: 2009:06:24:11:20:56