using an existing DLL file without having access to the source code?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Dieter Vanderelst

    #1

    using an existing DLL file without having access to the source code?

    Dear all,

    Could anybody tell me whether there are ways to use an existing DLL file
    in Python without having access to the source code?

    I'm trying to find a way to use the image filters available in the
    Filters-project (http://filters.sourceforge.net/) without having to
    compile or build the DLL myself, which is according to the authors very
    hard.

    I have quite some experience with Python itself, but I'm not really
    familiar with extending/embedding Python, please bare that in mind when
    responding :).

    With kind regards,
    Dieter
  • jay graves

    #2
    Re: using an existing DLL file without having access to the source code?

    Dieter Vanderelst wrote:[color=blue]
    > Could anybody tell me whether there are ways to use an existing DLL file
    > in Python without having access to the source code?[/color]

    Try ctypes.

    [color=blue]
    > I'm trying to find a way to use the image filters available in the
    > Filters-project (http://filters.sourceforge.net/) without having to
    > compile or build the DLL myself, which is according to the authors very
    > hard.[/color]

    I don't have any experience with this specific library but I've used
    ctypes in the past and it worked great.

    HTH.
    ....
    jay graves

    Comment

    Working...