How to get value by reference from WIN32OLE::ARGV?
Below code returns 0
v = 0
obj.foo('',0)
printf("v : %d \n", WIN32OLE::ARGV[1])
when really it must return another value by reference.
For example in python it works like here:
v = obj.foo('')
print('v : %d' % v)
because second argument is marked as retval it works. I don't get yet how
to make same on Ruby.
No comments:
Post a Comment