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 .

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.