Closed GoogleCodeExporter closed 9 years ago
Are you sure your python27.dll is in the C:\python27 directory? In all user
installations it is placed under c:\windows\system32.
In any case just leave the DLLPath blank, unless you use an unregistered
version of Python.
Cannot reproduce here.
Original comment by pyscripter
on 5 Sep 2010 at 7:56
I've copied the file from system32 to C:\python27 because it wasn't there ...
even tried with the dll in the test application folder.... empty PATH or not it
doesn't want to load any python dll. Have you tried with Windows 7 x64 ?
Clearly there's something fishy with the method of loading the dll... maybe
this has changed with the new OS.
Original comment by elc...@gmail.com
on 5 Sep 2010 at 9:12
Btw, i will make a video to show you later today.
Original comment by elc...@gmail.com
on 5 Sep 2010 at 9:13
Oh! Windows x64! You need to install Python 32 bit since Delphi does not
support x64 yet.
Original comment by pyscripter
on 5 Sep 2010 at 9:40
oh thanks i completely forgot this! I will try with python 32 bit :) thanks
again!!
Original comment by elc...@gmail.com
on 5 Sep 2010 at 9:42
Thank you very much! It works with python 32 bit.
Also, it would be great to advise in your wiki about this issue. I know that we
can't load 64 bit dlls with 32 bit application but i was focusing instead on
your error code. The whole day i've searched on google for :
Error 193: Could not open Dll "python27.dll" or Python could not be properly initialized. We must quit.
It would be great to remind people that they might installed earlier before
trying P4D, that a x64 version of python and is not compatible with delphi and
p4d.
Wish you eternal success with P4D
have a nice day
laurent
Original comment by elc...@gmail.com
on 5 Sep 2010 at 10:20
Original issue reported on code.google.com by
elc...@gmail.com
on 5 Sep 2010 at 6:08Attachments: