The following com error occur while using the wrapper on 64 bit vista

Sep 10, 2009 at 5:15 PM
Edited Sep 10, 2009 at 5:16 PM

Hello,

        I tried to figure out that why your wrapper class is not working on 64 bit vista machine and now i get following error

 

"The COM class factory for component with CLSID (6874E949-7186-4308-A1B9-D55A91F60728) could not be retrieved due to the following error: 80040154"

and it appear at the following location

private VixCOMWrapper()
        {
           this.vixLib = new VixLibClass();
        }

so now can u tell me the problem.

Best Regrads

Papapa.

Coordinator
Sep 10, 2009 at 5:21 PM

Hi!

Which version of VIX do you have installed on the machine?

Can you please also check the following registry key and if it points to the right DLL: "HKEY_CLASSES_ROOT\CLSID\6874E949-7186-4308-A1B9-D55A91F60728\"

Remember to always build the solution with Platform target set to x86!

Best regards,
Alex

Sep 10, 2009 at 6:26 PM
akoeplinger wrote:

Hi!

Which version of VIX do you have installed on the machine?

Can you please also check the following registry key and if it points to the right DLL: "HKEY_CLASSES_ROOT\CLSID\6874E949-7186-4308-A1B9-D55A91F60728\"

Remember to always build the solution with Platform target set to x86!

Best regards,
Alex

 Hello,

      I have 1.6.2 VIX api installed, and I build the project using x86 and "HKEY_CLASSES_ROOT\CLSID\6874E949-7186-4308-A1B9-D55A91F60728\" has following values

ProgID (VixCOM.VixLib)

Programmable (value is not set)

TypeLib (7A474EE3-0062-4239-AE91-134AC9BD5FD3 )

VersionIndependentProgID (VixCOM.VixLib)

 

 

and stil the same error what can i do now

Best regrads

papapa

 

Coordinator
Sep 11, 2009 at 10:59 AM

Hi!

It seems that a registry key is missing.

Apart from the ones you have listed, I also have a sub-key named "InprocServer32". In this sub-key there are two values, the "(Default)" which is set to the path of the VIX DLL (in my case "C:\Program Files\VMware\VMware VIX\VixCOM.dll") and an additional REG_SZ key called "ThreadingModel" with a value of "Free".

You could try to create these keys and see if this helps ;)

Best regards,
Alex