xiaoge wrote:
> Dear Rolf,
>
> thank you for your answer. The dll is created to accept VARIANT data
> type and should manage them. The third party's programmer told me he
> had tested the library under LabVIEW.
I still don't believe that LabVIEWs Call Library Node can deal with
Windows variants. The Active X Nodes in LabVIEW do know how to deal with
variants but the LabVIEW diagram variants are NOT the same as Windows
variants.
> Another problem occurs with the other functions of the same dll, which
> return values of short, bool, float or void data type. The "Call
> external library"-VI changes its apperance providing the adequate
> connections for the configuered function, but LV tells me that the
> function is not found. Isn't it a contrad
iction?
How do you mean it changes its appearance. You have to tell it what
function parameters it does have in the configuration dialog. I'm not
aware of an auto-function-prototype detection in DLLs as Windows DLLs do
not really have a way of telling a caller what prototype a function has
and even if NI added something like that to LabVIEW I would be utterly
surprised if it would be in LabVIEW 6.0 already.
> I have installed LV 6.0.2 including subsequent mass compilation. But
> that didn't help at all. As another unbeloved result, the VIs "General
> Error Handler", "Simple Error Handler" and "Open/Create/Replace File"
> could not found anymore.
Your installation seems getting hosed more and more. A reinstallation
seems to be in its place.
Rolf Kalbermatter