Answer the question
In order to leave comments, you need to log in
Why can't create a COM class object?
Good day!
There are such comrades . They have a client for their system. The client has an api through com. Put the client. I check in the registry, the class is registered https://yadi.sk/i/KHyURBwJghua3 . Through component services, all components related to the client added a user with the right to work with this object. But when running a simple test script:
var_dump(com_load_typelib('EApi.Head'));
try
{
$obj = new COM("eapi.head");
}
catch(Exception $e)
{
echo $e->getMessage();
}
dim oHead
set oHead=CreateObject("EAPI.Head")
regsvr32 /i Eapi.dll
Answer the question
In order to leave comments, you need to log in
Look here, it might help.
stackoverflow.com/questions/4897685/how-do-i-regis...
Somehow I jumped around with a tambourine around a similar problem, but to be honest I don't remember how I solved it...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question