Call ocx method

Hello,

I would like to call some methods from my own ocx in Google Sketchup.
The instantiation of the ocx seems Ok.

I can also retrieve some informations of the method (its dispid, the
type of argument, …). But, when I call the method, I have an error.

Here is my code :

require ‘win32ole’
include WIN32OLE::VARIANT
obj = WIN32OLE.new(’{my CLSID}’)
p = obj._invoke(method_dispid,[10,10,10],[VT_R8,VT_R8,VT_R8])

The error message is :

unitialized constant VT_R8 !!!

Does anyome can help me ?

Thank in advance

Bruno