Ronny, are you running your script with alpha 4? Seems alpha 4 and 5 
(unfortunately) had regression on this scenario.

Could you try the alpha 3 binaries? I expect it should work.

Thanks!

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ronny Stiftel
Sent: Saturday, October 13, 2007 4:38 PM
To: Discussion of IronPython
Subject: Re: [IronPython] Help with unrar.dll in ironpython

set_OpenMode(1) wont work
and i understand why, but i dunno how to solve it cause its from an imported dll
On 10/12/07, Dino Viehland < [EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>> wrote:

See http://channel9.msdn.com/wiki/default.aspx/IronPython.ValueTypes for an 
explanation of why you can't update value types.



You might be able to call archiveData.set_OpenMode(1) after creating it though.



From: [EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]> [mailto: [EMAIL 
PROTECTED]<mailto:[EMAIL PROTECTED]>] On Behalf Of Ronny Stiftel
Sent: Thursday, October 11, 2007 12:15 PM
To: [email protected]<mailto:[email protected]>
Subject: [IronPython] Help with unrar.dll in ironpython



Hi i am kinda new to ironpython and tried to use unrar in a project.
Since i was unable to directly import it i made a .net wrapper dll (see 
attachment generate.py), works quite well only problem left now is:

>> archiveData = unrar.RAROpenArchiveDataEx(OpenMode=1)
ValueError: Attempt to update field 'OpenMode' on value type 
'RAROpenArchiveDataEx'; value type fields cannot be directly modified

guess there is an easy way to solve it, any help would be appreciated

regards
ronny

_______________________________________________
Users mailing list
[email protected]<mailto:[email protected]>
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

_______________________________________________
Users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to