|
Posted by Chung Leong on 01/14/06 08:15
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.
Navigation:
[Reply to this message]
|