WinBatch® Technical Support Forum

All Things WinBatch => WinBatch => Topic started by: jfrasier on May 28, 2014, 04:36:21 PM

Title: Trying to use an extender
Post by: jfrasier on May 28, 2014, 04:36:21 PM
Here is the part of the script that I think is relevant.

AddExtender('wwwnt64i.dll')

wntSvcControl("", "Timeout Client Services", 0, 1)

When I compile it and run I get the error 1394: AddExtender: Extender DLL not found.

How can I fix that?



Title: Re: Trying to use an extender
Post by: JTaylor on May 28, 2014, 07:44:27 PM
When it runs compiled it looks for the extender locally or in a known path so you must compile it with the extender included in the compile and set to extract automatically (or code it to extract manually) or copy the DLL to somewhere it can find it such as the same directory as the EXE.

Jim
Title: Re: Trying to use an extender
Post by: Deana on May 29, 2014, 07:57:22 AM
First make sure you are compiling using the 64-bit compiler. Only 64-bit EXEs can load 64-bit Extender dlls.

Also place the Extender dll 'wwwnt64i.dll' in the same directory as the EXE or provide a full path to the Extender.

Please read: http://techsupt.winbatch.com/webcgi/webbatch.exe?techsupt/tsleft.web+WinBatch/64-bit+Error~1394~AddExtender.txt
Title: Re: Trying to use an extender
Post by: jfrasier on June 01, 2014, 01:38:08 PM
Thanks.

Jane