Re: importing from .pyd



On Jul 14, 4:11 pm, Kay Schluehr <kay.schlu...@xxxxxxx> wrote:
On 14 Jul., 06:03, moijes12 <moije...@xxxxxxxxx> wrote:

hi

there is a .pyd file present in the same folder as the script abc.py
by the name foo.pyd .I don't have foo.py .In the script abc.py I try

import foo

Error i get is
ImportError: DLL load failed: The specified module could not be found.

It looks like the module that was accessed is either corrupt
( unavailable entry point ) or it contains dependencies to other
modules which are not available.

At least the latter can be checked without access to the source using
the DependencyWalker:

http://www.dependencywalker.com/

Notice that the message clearly indicates that Python found the module
but failed to load it i.e. performing a LoadLibrary() which yielded a
NULL pointer.

thanks
.



Relevant Pages

  • Re: kms in defconfig
    ... Linus Torvalds wrote: ... i could imagine a kconfig knob to specify an optional ... suplies and maintains his script ... the dependencies before to enable/disable drivers), ...
    (Linux-Kernel)
  • Re: many packages not available
    ... Actually I am thinking of doing that as a shell script. ... of the packages on some mirror that contains dependency information. ... One of the problems is dependencies having ...
    (comp.unix.bsd.freebsd.misc)
  • Re: How to send email with perl, or at least control Outlook Express
    ... Michael Goerz wrote, on 03/11/2008 06:23 PM: ... You can try to comment out some of the dependencies. ... I don't think I ever tested the script on Windows. ...
    (comp.lang.perl.misc)
  • Re: How to send email with perl, or at least control Outlook Express
    ... user/pass authentication.. ... You can try to comment out some of the dependencies. ... I don't think I ever tested the script on Windows. ...
    (comp.lang.perl.misc)
  • Re: Setupai.log errors
    ... I do the auto-resolve and still have all ... of these related to OLE Server registration. ... You also didn't include some of the dependencies of the licwmi library ... The specified module could not be ...
    (microsoft.public.windowsxp.embedded)