07-30-2012 09:35 AM
Hello everbody,
I can not figure out a very annoying problem.
I build a new ActiveX under MS VC++ 2008 with MFC.
Then in LabVIEW, I use "Automation Open" (OK) then call the method "AboutBox" (generated automatically by VC++) : I get 0x8000ffff (catastrophic failure) error messag. Even if I activate the flag "no window necessary" (flag : windowlessActivate).
I am stuck here. Any idea ?
Thanks.
Solved! Go to Solution.
08-01-2012 02:57 AM - edited 08-01-2012 02:58 AM
Problem: I'm trying to use an ActiveX control from LabVIEW. I use the Automation Open function and pass the open reference into an invoke node. The invoke node returns an error: -2147418113 "Catastrophic failure in xxx.vi".
Solution: If you encounter this error you are most likely trying to use an ActiveX Control as you would an ActiveX Server.
Full source here : http://digital.ni.com/public.nsf/allkb/E0FA5D83F1E5276B86256C7E005FD83C?OpenDocument