[IronPython] call .net module from ironPython
nico at ramasoft.com
Fri Jun 11 09:59:53 CEST 2010
I run python scripts from within a vb.net sollution.
I can add references to our dll's and call all classes, functions, subs etc. but now I run into a specific problem.
In one of our dll's we have a module 'scriptutills' with a public function 'GetMaxIdentifier'that returns a unique number as a sort of identifier for a new project.
I can add a reference to the containing dll but when I call scriptutills.'GetMaxIdentifier'() I get an error "'type' object has no attribute 'GetMaxIdentifier'"
If I change the module into a class with the same subs, I càn call the 'GetMaxIdentifier' function without any problems. Does anybody has a sollution for this?
Thanks a lot.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Ironpython-users