<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
I am having 2.0 alpha 8 of IronPython Binaries. I downloaded the
wrapper changes with comment "<span
id="ctl00_ctl00_Content_TabContentPanel_Content_ChangeSetList_ctl02_CommentLabel">Fixed
constructor to call __init__" version no. </span><a
id="ctl00_ctl00_Content_TabContentPanel_Content_ChangeSetList_ctl02_downloadChangesetLink"
href="http://www.codeplex.com/coils/SourceControl/DownloadSourceCode.aspx?changeSetId=7386">7386</a>
from<br>
<a class="moz-txt-link-freetext" href="http://www.codeplex.com/coils/SourceControl/ListDownloadableCommits.aspx">http://www.codeplex.com/coils/SourceControl/ListDownloadableCommits.aspx</a><br>
As soon as I create .dll file using MakeModule.py, I m renaming the py
file. Now from ironpython interpreter i m trying to import dll file and
create instance.<br>
It is failing to create instance,<br>
<pre> >>> import clr
>>> clr.AddReference('IronPythonDLL.dll')
>>> import IronPythonDLL
>>> IronPythonDLL.IronPythonClass
<class 'IronPythonDLL.IronPythonClass'>
>>> o=IronPythonDLL.IronPythonClass()
Traceback (most recent call last):
File IronPythonDLL, line unknown, in .ctor
File IronPythonDLL, line unknown, in InitClass
File , line unknown, in ##26
TypeError: Value cannot be null.
Parameter name: scriptSource
</pre>
Do we need to have py file also in the same directory along with dll?<br>
<br>
Thanks,<br>
-Suma.<br>
<br>
</body>
</html>