Hi,
I've got a similar problem, which I can't solve on myself. But this time, I think it's not a problem with LabWindow, it's a "Visual Basic" Problem.
I've tried to transfer 2 parameter in one Funktion like here:
HRESULT CVIFUNC MyObjectMyInterfaceMyMethod (CAServerObjHandle objHandle,
unsigned char* return1,
unsigned char* return2)
{
*return1 = 11;
*return2 = 22;
return S_OK;
}
In The ActiveX-Server-Wizard I've declared them as Output.
My Visual Basic Call looks like this:
Set obj2 = New MyObject
MyObject.MyMethod value1, Value2
But I get following Error:
"Argumenttype ByRef incompatibly"
First, I've tried to solve it with 1D Arr
ays, but this way ist more difficult, and VB says to me, that there is a forbidden Interface (the varialbe).
I hope someone can help me and say to me where the problem is.
Regards
Markus