<br><br><div><span class="gmail_quote">2006/7/21, Enrico Tröger <<a href="mailto:enrico.troeger@uvena.de" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">enrico.troeger@uvena.de</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

On Thu, 20 Jul 2006 17:13:17 -0300, "Alexandre Moreira"<br><<a href="mailto:alexandream@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">alexandream@gmail.com</a>> wrote:<br>
<br>> I think it won't be hard to make the fifo stuff we use in *nix work
<br>> in the win32 build also, although this is not the "Right Way" of<br>> doing this in windows (DDE is too windows-complicated for my unix<br>> head).<br>><br>> For that, I must know what the GEANY_FIFO_NAME constant resolves to in
<br>> Windows building (trying to hack something with no good development<br>GEANY_FIFO_NAME is just an macro for "geany_fifo.0"<br>And this file exists in the configuration directory of Geany, for<br>example ~/.geany/geany_fifo.0 or whatever was specified with the -c
<br>command line switch.<br>More interesting could be the variable app->fifo_ioc, which points to<br>the open IOChannel to this file. But who knows who are IOChannels used<br>under Windows ;-).</blockquote><div><br>I have been checking out, and I can open a named pipe using Windows API -- CreateNamedPipe() -- , then find a file descriptor for it (using an weird windows function -- 
<code>_open_osfhandle()</code>) and use it with g_io_channel_win32_new_fd() and we will have a IO Channel listening on a named pipe (uff... some work to get a basic thing going, but thats windows).<br><br>The problem is, I am not quite sure how to write the "client" code yet, so there is no point in doing the "server" side right now, and I had some ideas that I'd like to discuss with you about the way we handle the fifo file, but I'll open another thread for that, since It concerns not only the windows version. 
<br><br>Just pointed it all out for you guys to see where the planning is at right now with the win32 support for pipes in Geany, and to see if anyone with more experience in Windows programming (I first started looking for win32 API like... 4 days ago.... and spent the other 3 days with no internet, so...) can give any ideas or tips.
<br><br><br>Regards,<br>Alexandre Moreira.<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Regards,<br>Enrico<br><br>--<br>Get my GPG key from 
<a href="http://www.uvena.de/pub.key" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://www.uvena.de/pub.key</a><br><br><br><br><br>_______________________________________________<br>Geany mailing list<br><a href="mailto:Geany@uvena.de" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
Geany@uvena.de</a><br><a href="http://uvena.de/cgi-bin/mailman/listinfo/geany" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://uvena.de/cgi-bin/mailman/listinfo/geany</a><br><br><br><br></blockquote></div><br>