Hi Bret, I was trying to understand in general how Ruby provides access to win32ole library. If I want to drive my custom application, do I need to patch win32ole binding in such a way.
I think I will have to do my homework better about ole and ruby ole binding. I didnt understand the need for patch quite exactly, but more understanding of ruby ole binding will make picture clear. Thanks anyways. Regards, Manish Bret Pettichord wrote: > On 7/7/06, *Manish Sapariya* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > Hi, > Bret mentioned in one of the posts that in order for watir to be > working, > win32ole ruby bindings needed to be patched. > > I was wondering for what kind of patch this was? > If I want my own app to be driven using ole, what kind of patch I > might > require to add? > > I would appreciate pointers to the right forum if this is not the one. > Thanks and Regards, > Manish > > > I'm not quite sure what the basis for your question is. So i'll say > some things and i hope you will find them useful. If not, please > provide more details about what you are looking for. > > Please don't take this personally, but since it seems like this is not > clear to everyone on the list, i feel like i need to say that you > should not feel insulted by my response and if you do, it would be > better to say so than respond rudely yourself. > > Now for your question. > > The WIN32OLE patch was needed for our support for modal dialogs -- > which are an IE-only feature. Specifically, we wrote a DLL that > returned a reference to the DOM in the modal dialog. We needed a way > to "cast" this into a WIN32OLE object. We patched the WIN32OLE library > to provide this "casting" ability. The WIN32OLE patch is included in > the Watir source so you can look at it yourself, if that helps. > > Does this help? > > Bret > ------------------------------------------------------------------------ > > _______________________________________________ > Wtr-general mailing list > [email protected] > http://rubyforge.org/mailman/listinfo/wtr-general _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
