Hi all,
I would like to create a personnal dll as a php extension.
I just downloaded devC++
Can somebody help me to create a "helloworld" dll code?
I want a my_helloworld() function, compiled in a dll:
php_my.dll , with this functionnality:
<?
echo my_helloworld();
?>
returns:
<h1>hello World</h1>
###### here is C language ( or C++ ?)(? I don't know the exact syntax )
string my_helloworld(){
return "<h1>hello world</h1>";
}
#### what about "include stdio.h" ??? and main() function???
#### I would like to know exact code to compile
For yet devC++ gives me .exe, how to dll's?
I go back. cu all