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 <xaphi...@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.scheme...@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@lists.ironpython.com >> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com >> > > > _______________________________________________ > Users mailing list > Users@lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > >
_______________________________________________ Users mailing list Users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com