|
Posted by Schraalhans Keukenmeester on 08/23/06 11:03
xiang wrote:
> Dovrei far interagire php con una dll compilata in c++, mi spiego,
> dovrei far in modo di inviare un comando dalla pagina php ad una dll ,
> magari un numero un valore, e invocare un metodo che si trova nella
> dll, come posso fare ? Ma si può fare ?
>
> Grazie
>
I sort of deduct you want to know how to invoke a DLL from within a PHP
script, parse and retrieve some data from it by calling a specific
function/method in the C++ program, if that's possible at all. Is my
deduction more or less correct?
(That's why English is such a marvellous language, practically everyone
writes/understands at least the basics of it.)
Check the PHP manuals for exec(), system(), passthru() &
escapeshellcmd() on how to invoke external programs.
If you want to invoke just a particular function in a program/library,
things probably become much more complicated. Perhaps you could use the
argv[] in the C++ program to parse command options.
Rgds
Sh.
[Back to original message]
|