hi
using VB, i developed a COMTest.dll that contains a class by name "clsTest". I put this dll in to my server running win 2000 professional, apache 1.3, php 4..3.1
I registered that the dll using "regsvr32". Fine.
I want to use this dll in my php program. so tested it with
$objTest = new COM("COMTest.clsTest") or die("Unable to instantiate clsTest component");
when i run this, a small pop-up window comes up with following error:
php.exe has generated errors..........
etc..
by saying, the page also shows error
The server encountered an internal error or misconfiguration and was unable to complete your request
All the normal php programs are working fine...only when i use COM its shoeing problem...i think it could not able to instantiate??
the COM settings in my php.ini file is
[com]
; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
;com.typelib_file =
; allow Distributed-COM calls
com.allow_dcom = true
; autoregister constants of a components typlib on com_load()
com.autoregister_typelib = true
; register constants casesensitive
com.autoregister_casesensitive = false
; show warnings on duplicate constat registrations
com.autoregister_verbose = true
to check whether my registered dll is working fine, i used the same dll in visual basic program in the server itself and it worked fine..
do i need to set anything... i am using win2k professional...
please help me out...