Failed to create COM object 'X': Class not registered in another WAMP

前端 未结 2 1044
轮回少年
轮回少年 2020-12-22 10:19

There already is a working WAMP instance in a Windows 7 in which the line

$x = new COM(\"X\");

does instantiate a COM object.

I was

2条回答
  •  南笙
    南笙 (楼主)
    2020-12-22 10:31

    You need to register the DLL, using

    regsvr32 yourdll.dll
    

提交回复
热议问题