Redirecting my previous message for the list, since I messed it up the first time, and adding some information in the end.<br><br><br><div><span class="gmail_quote">2006/7/24, Alexandre Moreira <<a href="mailto:alexandream@gmail.com">
alexandream@gmail.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><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></div><div><span class="q"><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.</blockquote></span></div></div></blockquote><div><br>Here is the important part. <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;">
<div><div><div>Oh, I forgot to mention, that windows use a completely different scheme for pipes so, we won't have the geany_fifo.0 file anywhere in the filesystem, (it has a pseudo-filesystem made for pipes ... something like //./pipe/MYPIPENAME or other more weird name, I can't remember now). That way we will need to have the pipe creation code isolated by platform (posix // win32).
</div></div></div></blockquote><div><br>End of important part. <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;"><div><div>Regards,
<br></div><div><span class="sg">Alexandre Moreira.<br><br></span></div><div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"></blockquote></div>
<div><span class="q">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 ;-).<br><br><br>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></span></div><div><span class="q">_______________________________________________<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></span></div></div></blockquote><div><br>While researching the named pipe mechanism in Windows I found out that Windows 95/98/ME cannot create named pipes (which would make them unable to use Named pipes the way Geany would do it *sigh*).
<br><br>Still, The DDE stuff would be usable in basically every version of Windows, but I have no knowledge about it (except for the basics on "how it works" ... I cannot program anything with it)... and honestly, is too messy and windows-centric that I just don't plan to learn it.
<br><br>What you guys say ? we have some options (as far as I can see):<br><br>Wait until someone can implement it in DDE "The Right Way";<br>I try to implement it in Named pipes, but the support will only exist for windows NT, 2K, XP, Vista;
<br>We have a drink and forget about this one-instance support on windows (lol).<br><br>Regards,<br>Alexandre Moreira.<br></div><br></div><br>