By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,898 Members | 1,183 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,898 IT Pros & Developers. It's quick & easy.

path modules with windll in Python

P: 1
Hello all,

this is the structure of my program:
-Main Folder
/--> SRC folder (python code)
/--> DLL folder (dll that I use on my code)

In one .py file in SRC folder I have this code:

from ctypes import *
windll.LoadLibrary(".\..\dll\cmll14.dll")

It loads cmll14.dll but it needs also other dlls that are in DLL folder (not in SRC, where the .py is). Then I have an error:

"The DLL can not be started, because _other_dll can not be found."

If I start the py file from DLL folder it works, but I don't want to mix my code with external dll files. How can I fix my problem?
Sep 19 '11 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.