tags:

views:

236

answers:

1

Hello All

I am loading a dll in python using following code.

if os.path.exists(dll_path): my_dll = ctypes.cdll.LoadLibrary(dll_path)

But i am continuously getting the following error

WindowsError: [Error 126] The specified module could not be found

dll is present at the specified path...but i didn't understand why i am getting the error.

Can anyone help me?

Thanks

A: 

Check your dll name.. it must not contain any uppercase letter .. it must have all lowercase characters to compile successfully

WA