php e c++

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
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 ?


Re: php e c++

xiang wrote:

Quoted text here. Click to load it

Als ik jou was zou ik die vraag opnieuw stellen in een taal die we wel  
kunnen lezen.


Re: php e c++

xiang wrote:
Quoted text here. Click to load it
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.


Site Timeline