From: Bruno Antunes Date: 2009-09-10T23:06:57+09:00 Subject: [ruby-core:25511] [Bug #2079] win32ole's OLEGEN does not create all classes needed when a TLB has more than one class defined Bug #2079: win32ole's OLEGEN does not create all classes needed when a TLB has more than one class defined http://redmine.ruby-lang.org/issues/show/2079 Author: Bruno Antunes Status: Open, Priority: Normal Category: lib ruby -v: 1.9.1 Hello. If this is not a Ruby issue, I apologize, but I thought it would be best to contact the people responsible for Win32OLE, so here goes. I have this TLB, and when I run OLEGEN (\doc\ruby\ruby-1.9.1\sample\win32ole) I obtain a file that is either incomplete or I'm missing something. It only generates one class and 5 modules. If so, how can I run, for example, AcdEvent's Connect() method since there's no class to instantiate AcdEvent objects? Please help if you can, with either a patch to OLEGEN or some other way to achieve this result. I have attached to this issue the TLB file in question, the generated (by OLEGEN) source file and a screen shot of Reflector's output of the DLL contents after importing the TLB into a Visual Studio project. Thank you! ---------------------------------------- http://redmine.ruby-lang.org