January 18th, 2010, 12:52 AM
Accessing GAC from Python
I am on Win XP Pro
I created a Python extension called "_abcPython.pyd". This extension module has methods which are wrappers of actual methods that reside in another assembly that I created in .NET "ScriptEngine.dll" I have deployed the "ScriptEngine.dll" in GAC.
After importing _abcPython.pyd in Python shell when I try to make function calls, python throws an exception saying that "ScriptEngine.dll" not found. When I copy "ScriptEngine.dll" to the same directory as the "Python.exe" the error goes away. But I want python to be able to access "ScriptEngine.dll" from GAC.
How can I do this?
Thanks in advance
Tags for this Thread
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.