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.

Error:1299 DLL 'dll file not found' with DllLoad

Keywords:   Error:1299 DLL 'dll file not found

Question:

Below is a simple example of loading a dll. I get a "DLL file not found" error when I try to load the dll without doing a DirChange() to the directory where it located. The DllLoad works fine when I un-comment the DirChange() line below.

Example:

filedir="e:\test"
dllname="e:\test\extract.dll"
;DirChange(filedir)
dllhandle=DllLoad(dllname)

Answer:

Sounds like maybe that DLL needs other dependent DLL's, which are located in the directory you are changing to.
Article ID:   W14224
Filename:   Error 1299 DLL Dll file not found.txt
File Created: 1999:10:26:11:22:32
Last Updated: 1999:10:26:11:22:32