09-01-2010 07:13 AM
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.
09-01-2010 03:47 PM
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?
09-02-2010 02:00 AM
Yes, I browse and link to the corresponding dll file which I successful registered before.
12-17-2012 12:25 PM
Did you ever find a resolution to this issue? I am having the same problem...
12-17-2012 03:11 PM
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...
12-17-2012 03:18 PM
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.
12-17-2012 03:26 PM
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...
12-17-2012 03:42 PM
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