Hi,

does anybody use the ActiveX.framework coming with WebObjects 4.0 ? We
tried to access some VisualBasic functions and some things work,
others don't.

For example we cannot call methods that return values, only void
methods work (eg: 'Public Function method1() As String...' breaks in
NSProxy:-doesNotRecognize..). Is this known ?

Another thing are NSSafeArrays as properties. This also breaks
somehow. There is a variant property defined in VB ('Public variant1
As Variant') which we assign an array:
  Dim x() as Variant
  ReDim x(5)
  x(0) = "sajhfj"
  x(1) = "sajh2342134fj"
  x(2) = "saj234hfj"
  x(3) = "sajh111fj"
  x(4) = "sajhuhjhfj"
  variant1 = x
Now we access the property via a property method
('-(id)getVariant1()') and correctly get passed back a NSSafeArray
instance. But this instance is broken and returns strange values for
-dimension or the -bounds methods (eg dimension=63 !!).

Anybody out there who solved these problems (or knows whether there is
no easy solution) ?

Thanks
  Helge
--
MDlink online service center
http://www.mdlink.de

_________________________________________________________
DO YOU YAHOO!?
Gesendet von Yahoo! Mail - http://mail.yahoo.de

Reply via email to