Click to See Complete Forum and Search --> : createObject question


stin
July 16th, 2009, 02:05 PM
I've got this code in an asp page:

dim obj
set obj = server.CreateObject("tstPrj.clsTest")
obj.test

and it works. What I'm looking for is the equivalent in PHP. Apparently my google-fu is lacking because I can't find anything.

tsgPrj is a homemade/VB activeX dll, btw.

Thanks for any insight you folks might have.

PeejAvery
July 16th, 2009, 03:36 PM
What you need is COM (http://us3.php.net/manual/en/class.com.php).

stin
July 17th, 2009, 09:35 AM
Thanks, looks like a winner.