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
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
Vous avez reçu ce message, car vous êtes abonné au groupe "Railsfrance" de 
Google Groups.
Pour transmettre des messages à ce groupe, envoyez un e-mail à l'adresse 
[email protected]
Pour résilier votre abonnement envoyez un e-mail à l'adresse 
[email protected]
-~----------~----~----~----~------~----~------~--~---

Répondre à