From: Daniel Amelang Date: 2005-09-29T14:11:18+09:00 Subject: Re: Even more WIN32OLE_EVENT When I've used PeekMessage/GetMessage like functions, I've called them via ruby-dl instead of win32ole. Have you tried that route? Dan Amelang On 9/28/05, Fredrik Jagenheim wrote: > Hi, > > I'm still having trouble with the message_loop construct. > > For my use, it's not acceptable that it takes 100% CPU fetching and > dispatching messages. > > Even the simple test-application using IE found on > http://www.rubycentral.com/book/lib_windows.html uses 100% CPU doing > practically nothing... > > I tried modifying the win32ole library to use GetMessage instead of > PeekMessage (causing it to wait until a message is available). This worked > for the simple IE application, but my application caused ruby to segfault. > Perhaps because I'm using threading? > > I know I've asked this before, but once again I must ask if anyone has a > solution to this problem? > > //F > >