If we just aliased LoadLibrary to dlopen will that work? My hope was that we could basically rely upon Mono's P/Invoke mapping to handle running ctypes on Linux. But maybe LoadLibrary/dlopen have slightly different sigs and we need to handle that one specially.
> -----Original Message----- > From: [email protected] [mailto:users- > [email protected]] On Behalf Of Seo Sanghyeon > Sent: Saturday, July 25, 2009 5:07 AM > To: Discussion of IronPython > Subject: [IronPython] IronPython ctypes on Linux > > Hopefully I'm not too late on reporthing this... > > If you look at ctypes/__init__.py in Python 2.6, it imports different > functions from _ctypes depending on os.name. So on Linux, it expects > dlopen to be available, instead of LoadLibrary. > > -- > Seo Sanghyeon > _______________________________________________ > 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
