[IronPython] Code Access Security?

Bruce Bromberek bruce.bromberek at gmail.com
Thu Apr 15 04:35:09 CEST 2010


Does a.py have any module imports?  I always find I have to mess around with
standard python modules being available in order for my DLL's to work when I
distribute exe's.  But then I'm usually using ODBC connections to *.mdb
files

On Wed, Apr 14, 2010 at 4:05 AM, Neidhoo Xaphier <xaphiern at googlemail.com>wrote:

> I invoke it this way:
>
> import clr
> clr.AddReference("a.dll")
> import a
>
> con = a.connect()
>
> It is the last line which creates the SystemError. I don't have this issue
> if I use/import a.py directly and not the compiled a.dll. But I need to
> provide it as a.dll.
>
> Regards,
> Xaphier
>
> 2010/4/14 Jimmy Schementi <Jimmy.Schementi at microsoft.com>
>
>> ipy,exe isn't running with any special permissions. How are you invoking
>> the code in a.dll?
>>
>> ~Jimmy
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.ironpython.com
>> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20100414/f2e257b1/attachment.html>


More information about the Ironpython-users mailing list