mahavi
November 25th, 1999, 08:11 AM
Hi there,
i'm a beginner using COM/DCOM..i have an ATL server..which has an interface function with 3 out parameters...returned back to the client as double*...i'm able to access the function in my VB client...but...its giving me the "argument by reference mismatch error"...my function in the interface of my server is as follows STDMETHODIMP CMyinterface::Get(double *x, double *y, double *ammun)...my VB client code looks sth like this
Private Sub Form_Load()
Dim x, y, z As Double
Dim obj As FPSERVERLib.Myinterface
Set obj = New FPSERVERLib.Myinterface
obj.Get x, y, z//////its giving me error at this point
Text1.Text = x
Text2.Text = y
Text3.Text = z
End Sub
Thank you once again for your time..and any help is apppreciated.
Vishal
i'm a beginner using COM/DCOM..i have an ATL server..which has an interface function with 3 out parameters...returned back to the client as double*...i'm able to access the function in my VB client...but...its giving me the "argument by reference mismatch error"...my function in the interface of my server is as follows STDMETHODIMP CMyinterface::Get(double *x, double *y, double *ammun)...my VB client code looks sth like this
Private Sub Form_Load()
Dim x, y, z As Double
Dim obj As FPSERVERLib.Myinterface
Set obj = New FPSERVERLib.Myinterface
obj.Get x, y, z//////its giving me error at this point
Text1.Text = x
Text2.Text = y
Text3.Text = z
End Sub
Thank you once again for your time..and any help is apppreciated.
Vishal