473,412 Members | 3,343 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,412 software developers and data experts.

How to create PHP DLL Extentions?

jt
I need to create a DLL Extension. I going to write it in C.

Can you point me to any information on how to write DLL extentions?

I just don't know how the calling conventions are, etc...

Thanks,
JT

Jan 14 '06 #1
2 6457
jt wrote:
I need to create a DLL Extension. I going to write it in C.

Can you point me to any information on how to write DLL extentions?

I just don't know how the calling conventions are, etc...

Thanks,
JT


Start out by adding functions to an existing extension. That'll get you
started quicker, as the source code is already set up to correctly
compile. Then it's just a matter of ripping out the other functions and
renaming the thing.

The Zend API section of the PHP manual describes how to allocate
memory, handle variables, and so forth. Between that and reading the
source of an existing extension, you'll figure it out.

Jan 14 '06 #2
NC
jt wrote:

I need to create a DLL Extension. I going to write it in C.
Can you point me to any information on how to write DLL extentions?


Zend has a two-part tutorial on writing PHP extessions:

http://www.zend.com/php/internals/

Cheers,
NC

Jan 14 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Mo | last post by:
Hi all, I hope that someone out there can help me with a problem I have been having. I have just finished creating a website and have added a header to most of the pages on my site. The header...
7
by: dog | last post by:
I've seen plenty of articles on this topic but none of them have been able to solve my problem. I am working with an Access 97 database on an NT4.0 machine, which has many Access reports. I...
4
by: I_AM_DON_AND_YOU? | last post by:
There is one more problem I am facing but didn't get the solution. In my Setup Program I am not been able to create 2 things (when the program is intalled on the client machine ) : (1) create...
10
by: Zack Sessions | last post by:
Has anyone tried to create a SQL7 view using the CREATE VIEW command and ADO.NET? If so, is there a trick in trapping a SQL error when trying to create the view? I have a VB.NET app that, amoung...
1
by: A.M-SG | last post by:
Hi, Can I view/modify SOAP message at the client proxy side without using soap extensions? Thank you,
37
by: Steven Bethard | last post by:
The PEP below should be mostly self explanatory. I'll try to keep the most updated versions available at: http://ucsu.colorado.edu/~bethard/py/pep_create_statement.txt...
18
by: Steven Bethard | last post by:
I've updated the PEP based on a number of comments on comp.lang.python. The most updated versions are still at: http://ucsu.colorado.edu/~bethard/py/pep_create_statement.txt...
2
by: Yoshitha | last post by:
Hi We have an application to develop in C#.Net. That application is similar to Adobe Photoshop. In that we have to get the functionality similar to how psd file is created in photoshop. we...
0
by: markscottwright | last post by:
I'm trying to create and display a Form in an inproc COM server using C# and it is locking up. It's intermittent, but happens more often than not. The following code demonstrates the problem -...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.