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

Sungjin Chun <[email protected]> Thu, 14 Jun 2012 21:47:40 +0900
Newsgroups gmane.comp.lang.io
Message-ID <CANhta7Y7aFs_j6h4XdhNfZv-5eXAs6DPGCq+_A7mHwhgnKpkdw@mail.gmail.com>
Thank you. Though what I want is controlling C part using Io and not the
reverse, this
might be a better solution.

On Thu, Jun 14, 2012 at 6:04 PM, Steve Dekorte <[email protected]> wrote:

> **
>
>
>
> 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.
>
>  
>