I'm on a Windows 10 64-bit system and I registered a dll using RegSvr32.
I received the following message after the RegSvr32:
--------------------------- RegSvr32 --------------------------- DllRegisterServer in myspecial.dll succeeded. --------------------------- OK ---------------------------
When I tried to run a basic VBS file that does the following:
Set obj = CreateObject("myspecial.clsmycode")
I receive the following message after trying to run that VBS code:
--------------------------- Windows Script Host --------------------------- Script: C:\test.vbs Line: 3 Char: 9 Error: ActiveX component can't create object: 'myspecial.clsmycode' Code: 800A01AD Source: Microsoft VBScript runtime error --------------------------- OK ---------------------------
Does anyone know what I am doing wrong or what I need to do to get this to work?