-
Notifications
You must be signed in to change notification settings - Fork 56
WindowsError 193 / Not a valid Win32 Application #423
Comments
I don't have windows so I can't say for sure...but from reading that it looks like you might need to build a 32bit version of the encrypt.dll manually |
This error mean that the dll is 32 bit, not that the dll needs to be. |
If the file is different per system, then i'll need to compile it. |
Same issue with the DLL not working on a 64-bit OS. Is it possible to get a link to a 64-bit compiled version? |
That would be handy, i'm having a right 'mare trying to get this thing compiled. VS trial expired hah! |
I've been trying for awhile as well. Windows is far from my native tongue. Any reason this hasn't been ported to python to make everyone's lives less difficult? |
@beeedy Ok, so I managed to get this to compile. Your encrypt.dll should build. Should work. EDIT: Still not resolving the issue for me, let me know if you manage to solve this :c |
@teh3vil ahh thank you, it was the system variables that appear to have been throwing me off. If this quick lil' run down could be stickied some how I think more than just myself would find it of use |
So, i managed to get it to build and all, but still getting the "This is not a valid win32 application" error when trying to load it. Update: Going deeper... |
Nailed It! Re-installed python 32bit and used the encrypt.dll that is being distributed around with the instructions above. Seems like you have to be running 32bit python for it to work. Could definitely be considered we re-write the readme to add specific instructions regarding this. |
So when using the encrypt.dll, i get this error just after "Starting RPC login sequence (app simulation)"
File "D:\Projects\poketrainer-3vil\pgoapi\pgoapi.py", line 261, in call request.activate_signature(self.get_signature_lib()) File "D:\Projects\poketrainer-3vil\pgoapi\rpc_api.py", line 86, in activate_signature ctypes.cdll.LoadLibrary(lib_path) File "D:\Bin\Python\lib\ctypes\__init__.py", line 443, in LoadLibrary return self._dlltype(name) File "D:\Bin\Python\lib\ctypes\__init__.py", line 365, in __init__ self._handle = _dlopen(self._name, mode) WindowsError: [Error 193] %1 is not a valid Win32 application
Any ideas?
Edit: Doesn't seem to be isolated:
pogodevorg/pgoapi#7
The text was updated successfully, but these errors were encountered: