Jump to content

How to create dll file and perform different operations


zohab

Recommended Posts

Hi,

 

I am a php developer and In my new project I have DLL files.

 

These files add/edit/delete records from my database.

 

I want to do some customizations.

 

I have gone through articles on Google.

 

Now

 

I am looking for any solution to create dll and perform different operations

example :add/edit/delete records in database.

 

I am new in this .

Unless you can somehow get a COM object to work as MrAdam suggested, you're probably out of luck.

 

 

DLLs are basically just files full of executable information stored in chunks like functions with a table that points to where each executable chunk is (it's not quite as simple as that sounds).

 

But still, as far as I know PHP has no way to interact with random DLLs.  You could write a PHP extension that interfaces with your own DLL, but that could quickly become difficult.

But still, as far as I know PHP has no way to interact with random DLLs.  You could write a PHP extension that interfaces with your own DLL, but that could quickly become difficult.

 

It could just act as a proxy so myfunction() in PHP user land (via the extension) would then map to myfunction() in his DLL. Assuming he knows C how to write PHP extensions, that shouldn't be so difficult.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.