I have downloaded this package (V. 1.2.1) and re-built it from source using the following instructions: https://sourceforge.net/apps/mediawiki/pykeylogger/index.php?title=Installation_Instructions
I built it using python version 2.7.1
It works great on the machine where I built it (Windows 7 64-bit).
However, as soon as I take the compiled source and try to install it on some other machine (Window XP 64bit), it gives me this error:
Traceback (most recent call last):
File "keylogger.pyw", line 54, in <module>
File "detailedlogwriter.pyc", line 35, in <module>
File "win32api.pyc", line 12, in <module>
File "win32api.pyc", line 10, in __load
ImportError: DLL load failed: The specified procedure could not be found.
What am I doing wrong? I tried debugging the application also, it still doesn't show me which DLL is missing.
I believe it's because you compiled it on a x64 machine, thus saving the 64bit dlls.
Try compiling it on a 32bit machine instead.
I tried on 32 and 64 still same isssue when trying to use on Vista 32 (W7 x32/64 fine though…)
Tried dependancy walker an it suggests IESHIM.dll is missing - ok so where do we put it to compile this correctly??
"Ieshims.dll and wer.dll are only used on Vista and above machines for IE8, they are not needed in XP and thats why you can't find them. They can, however, be downloaded here:
I'm currently troubleshooting the same issue. pykeylogger works on my 2 win7 64 bit, but not on XP 32 bit.
the Win7 machines have IESHIMS.dll, and the XP machine does not.
I tried copying IESHIMMS.dll from program files\internet explorer on the win7 computer, to the internet explorer folder on the XP machine, but it did not fix the issue.
I fixed the problem by creating the binary on the XP computer.
Also, when you run py2exe it lists the DLL dependencies of the binary. Still not sure if that was actually the problem though, because I erased the IESHIMS.dll files from the internet explorer file on my win7 computers and pykeylogger.exe still ran fine. Maybe if I erased them and then recreated the binary I would get the error message on the win7 computer? Not sure, and probably not gonna test it since i got it working on XP now.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.