hi!

I have a VB class that have a method called: GetVector.

Public Function GetVector() As Variant
   Dim v(1) As Variant

   v(0) = "Some words"
   v(1) = 1

   GetVetor = v
End Function
-----------------------

In RealBasic I call the method GetVector like this:

   dim myClass = new OLEObject("MyVBDll.clsMyClass")
  dim v as Variant
  v = myClass.GetVector

The "v" variable contains always "nil"! Why!?
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to