Beginner at writting a PHP Wrapper for C++ libraries

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am just beginning my foray into writing my own wrapper for a C++ library 
that maintained by someone else. I have ordered Sara Golemon's book "Extending 
and Embedding PHP" which should arrive in the next week or so, but until then 
I had a couple of questions that I was hoping might be able to be answered 
here. If this is the incorrect list to post this to, please let me know.

Is it possible to use an object file from the C++ library directly in the 
config.m4 file? I attempted to create a symlink to the cpp file that I needed for 
my extension but I get a ton of errors when I try to make the extension and I 
am guessing it is because this one cpp file that I need requires a ton of other 
header files.

Second question is, I thought I read somewhere that it was possible to create 
a stand alone extension that did not require the end user to install the .so 
file and then modify the php.ini file and restart the apache server. How can I 
do this with my extension and just call/load the .so file in my script(s) that 
need it?

Thanks in advance.

-Eric Bonney

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux