I've verified the VI Server configuration settings...ActiveX and all Allow boxes are checked. moved the target VI to c:\, root, directory. I also verified that I have exported the "*" wild card. I get the same error on GetVIReference. It must be something else.
The only thing I can think of is that the parameter types are not translating properly on the OleFunction() call. I'm passing ('string', 'string', int) to GetVIReference. The second string (password param) being an empty string.
Incidently, I can't get the Visual C++ example to work either. I don't get the same error, but that error is likely to be different in Microsofts MFC than in Borland's VCL. I've tried this on a WIN NT 4.0 machine and a WIN ME machine with the same results.
Is
there an error log that is created by LabVIEW6.0 somewhere?