From: Masaki Suketa Date: 2011-11-19T08:22:05+09:00 Subject: Re: WIN32OLE return type USERDEFINED Hello, On Sat, Nov 19, 2011 at 02:11:18AM +0900, Dominic Sisneros wrote: > Try the following. > > > > pt = ole.Point3dFromXYZ(3,3,2) > > > > pt = ole.Point3dFromXYZ(3,3,2) > -> nil > pt > -> nil Ooops, sorry. I'm not sure, but you might specify parameter type when you call Point3dFromXYZ. What is the result of the following? meth = WIN32OLE_METHOD.new(app_type,'Point3dFromXYZ') meth.params.map{|e| e.ole_type_detail} Best Regards, Masaki Suketa