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

Error Codes

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

1395: AddExtender: Not a valid Extender

Keywords: 	  1395: AddExtender: Not a valid Extender

Question:

I need some help. I have written quite a few scripts in the last couple years. A couple months ago I integrated about 15 of these script into one & compiled it, everything went fine. I have since add another here and there with no problem until yesterday. I added another script the other day and compiled, everything seemed ok, but when I run it, it gives me an error. The error is #1395: AddExtender: Not a valid extender On Line: AddExtender("wwnwx34i.dll"). I don't think I even changed anything with the extenders.

I can execute it as a .wbt file without an issue. It is only when it is compiled that there is a problem. I have tried compiling a few times, changing small variables to no avail.

Answer:

  1. Are you using the Large/Complete EXE compile option?

    If so, you will need to include any Extenders during the compile. If you have Any addextender statements in your script you will need to include those extenders when you compile.

  2. Also, in your test area for the compile, you may wish to delete all the extenders, or make sure they are the same version as in the WinBatch\System directory.

    New dlls do NOT overwrite the old.

    When you make a large exe, the embedded DLLS are considered "emergency" copies and only used if a dll of the same name cannot be found.

    The AddExtender function has an optional parameter where it can verify the extender version number is sufficient to support the script, otherwise a (trappable) error occurs to let you know right away that there is a problem.


Article ID:   W15492
File Created: 2003:05:13:11:28:12
Last Updated: 2003:05:13:11:28:12