Re: [Q] No more Win32Bridge or something similar for Io on Win32?

Steve Dekorte <[email protected]> Thu, 14 Jun 2012 02:04:46 -0700
Newsgroups gmane.comp.lang.io
Message-ID <[email protected]>
Hi Sungjin,

You could use it's loop and then call Io on the C side:

http://www.iolanguage.com/scm/io/docs/IoGuide.html#Embedding-IoState

e.g.

In your application's init code, add:

#include "IoState.h"

IoState *ioState = IoState_new();
    IoState_init(ioState);


And then in the event loop callback add:

    IoState_doCString_(self, "someExpression");

Or construct an IoMessage and send it.

Hope this helps,
Steve

On 2012-06-05 Tue, at 12:01 AM, Sungjin Chun wrote:

> I've tried Io and found that it's interesting language. I want to port
> my in-house application (which uses DLL
> provided by other vendor) to Io. The main problem is that the DLL uses
> win32 message loop for it's operation
> and I cannot yet to find any clue other than Win32Bridge on Io.
> 
> My current application uses dolphin smalltalk but it's not GUI
> application; only single window handle is used
> for message processing.
> 
> Anyone can help me on this? Thank you in advance.