Re: Error converting a pipe (Handler) to fd on vs 2003 to use with g_io_channel_win32_new_fd
- From: Tor Lillqvist <tml iki fi>
- To: puzzlecracker <vehomzzz yahoo com>
- Cc: gtk-list gnome org
- Subject: Re: Error converting a pipe (Handler) to fd on vs 2003 to use with g_io_channel_win32_new_fd
- Date: Tue, 11 Aug 2009 17:23:43 +0300
>>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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]