How To Create .dll File Using Php?

3

3 Answers

Anonymous Profile
Anonymous answered
DLL (dynamically Loaded Libraries) are created from compiled code,
I'd say you have very little chance of creating a dll from php code
which isn't compiled
While it is possible to compile PHP into DLLs (Phalanger
can do that), there is no guarantee that those DLLs
will be usable by PHP.
Rahul Singh Profile
Rahul Singh answered

When creating a DLL file, you need to use a module definition file. It will contain something similar to this:


That definition allows regsvr32 to find the DllRegisterServer entry point.

Another option you can try is to pass the /n flag to regsvr32.

Finally, before working with a DLL with PHP, you need to make sure the DLL works in general.

Learn more at PHP training in Chandigarh

Answer Question

Anonymous