Forum > Windows

Convert Python modules (PYD) to normal DLL (reverse engineering)

(1/1)

Raskaton:
Hi!
Is any way to convert Python module (*.PYD) to normal Windows DLL? And Load in Lazarus?
As I know PYD just DLL with specific export function: https://wiki.freepascal.org/Developing_Python_Modules_with_Pascal

Now I use Python4Delphi project. And its about 30Mb Python DLLs.
It is works. But... It's strange to use the C library through a python.  %)

Using normal DLL load in Lazarus will be very usefull.

In my case, the PyD library implements interprocess communication (IPC) with another program. Perhaps there is a way to "listen" to what messages (WM_COPYDATA perhaps) and parameters this lib sends? And just reverse engineering all 32 functions?

Navigation

[0] Message Index

Go to full version