[IronPython] Loading a static lib a second time in hostedironpython

Brian Ashcroft BRIAN.ASHCROFT at asu.edu
Thu Feb 3 18:18:40 CET 2011


Thanks for the help,  I discovered clr.AddReferenceToFileAndPath which
does all the hard work off adding the path to the sys.path ;-)

Thanks,
Brian

-----Original Message-----
From: users-bounces at lists.ironpython.com
[mailto:users-bounces at lists.ironpython.com] On Behalf Of Jeff Hardy
Sent: Thursday, February 03, 2011 9:53 AM
To: Discussion of IronPython
Subject: Re: [IronPython] Loading a static lib a second time in
hostedironpython

On Thu, Feb 3, 2011 at 9:28 AM, Lukas Cenovsky <cenovsky at bakalari.cz>
wrote:
> It looks like IronPython cannot find your .dll. Check whether you have
> MathHelpLib.dll along with all dependencies in your sys.path.

... which you can do from the host by calling engine.SetSearchPaths.

- Jeff
_______________________________________________
Users mailing list
Users at lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com



More information about the Ironpython-users mailing list