LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

error 2147221164 (Class not registered) - ActiveX

Hello,

 

I have .dll file for using (reading) DAQ system. Developers who write this .dll file told me that this .dll file is standard Microsoft COM object and the ActiveX is a specialized COM object in LV.

 

Then I registered this .dll file on the way like is shown here:

http://digital.ni.com/public.nsf/websearch/4F811A9B23F1D46E862566F700615B7A?OpenDocument

 

At the end of registration .dll there was message:

DllRegisterServer in <file path> succeeded

 

Than I want to use this .dll in LV but I get the Error message:

Error 2147221164 - Class not registered

 

So why do I get this Error message although I successful registered .dll file?

 

I already search the forum, and founded some problems like my, but in all ceases the Error disappears after registration .dll...

 

Thanks for any help.

0 Kudos
Message 1 of 8
(6,757 Views)

 

Since there are no replies since this morning, here's a shot in the dark..

When you selected the ActiveX class, did you browse, find and link to the one corresponding to that of the dll?

 

0 Kudos
Message 2 of 8
(6,737 Views)

Yes, I browse and link to the corresponding dll file which I successful registered before.

0 Kudos
Message 3 of 8
(6,723 Views)

Did you ever find a resolution to this issue?  I am having the same problem...

0 Kudos
Message 4 of 8
(6,103 Views)

You are really lucky that somebody noticed your post. It is not a good idea to add onto a thread that's 2-years old - if for no other reason than many people will see multiple replies and figure that its an ongoing conversation and so won't want to butt in.

 

What is the specifics of the issue that you are running up against? Where did you get the ActiveX component?

 

MIke...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 5 of 8
(6,095 Views)

I get an error (2147221164) that says class not registered.  The sub-vi calls a SigmaProbe dll named SPAPI6.dll.  I registered this dll, but I am still getting the failure.  I am using LabView RunTime Engine 8.2.1 right now that is running a sub vi executable that I created to create an xml file that will later be transferred to an online database that is run by Camstar.

0 Kudos
Message 6 of 8
(6,092 Views)

To quote Ray:

 

When you selected the ActiveX class, did you browse, find and link to the one corresponding to that of the dll?

 

To which I would add the further question: are you sure you picked one that is creatable? There is a checkbox in the dialog that lets you show only the creatable objects.

 

Can you post a bit of code?

 

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 7 of 8
(6,089 Views)

Hi Mike,

 

Yes, I doubled checked the link and it is just fine.  I have already used this installer with the same code about 3 times with no issues...

 

I am a little confused about what you mean about this part:  To which I would add the further question: are you sure you picked one that is creatable? There is a checkbox in the dialog that lets you show only the creatable objects.

 

I have attached the SigmaProbe library, the place where my vi fails is at the UnitReport Initializevi.  This is also the first time that the SPAPI6 dll gets called.

 

Thanks,

Daniel

0 Kudos
Message 8 of 8
(6,080 Views)