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]> 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] *On Behalf Of *Ronny Stiftel > *Sent:* Thursday, October 11, 2007 12:15 PM > *To:* [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] > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > >
_______________________________________________ Users mailing list [email protected] http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
