[IronPython] call .net module from ironPython
Nico Picavet
nico at ramasoft.com
Fri Jun 11 09:59:53 CEST 2010
Hi there,
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.
Nico
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20100611/ee040d82/attachment.html>
More information about the Ironpython-users
mailing list