Re: Error converting a pipe (Handler) to fd on vs 2003 to use with g_io_channel_win32_new_fd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>Another solution would be to use the msvcrt.dll runtime even if you
>>use Microsoft's current compiler.

> I don't want to require existing clients to have an additional requirement
> of adding another dll,

You have it backwards here. The msvcrt.dll that MinGW-compiled code
uses, and that it requires trickery to get MSVC-compiled code to use,
is part of the Windows OS and always present. It's msvcr71.dll,
msvcr80.dll, or msvcr90.dll that need to be shipped together with
applications that use them.

> Which API or Windows events  you're referring to?

CreateEvent() returns a HANDLE that can be waited for. So put it in a
GPollFD and have GLib watch that.

--tml
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list


[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux