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: W14224Filename: Error 1299 DLL Dll file not found.txt