Redirecting my previous message for the list, since I messed it up the first time, and adding some information in the end.
2006/7/21, Enrico Tröger < enrico.troeger@uvena.de>:On Thu, 20 Jul 2006 17:13:17 -0300, "Alexandre Moreira"
<alexandream@gmail.com> wrote:
> I think it won't be hard to make the fifo stuff we use in *nix work
> in the win32 build also, although this is not the "Right Way" of
> doing this in windows (DDE is too windows-complicated for my unix
> head).
>
> For that, I must know what the GEANY_FIFO_NAME constant resolves to in
> Windows building (trying to hack something with no good development
GEANY_FIFO_NAME is just an macro for "geany_fifo.0"
And this file exists in the configuration directory of Geany, for
example ~/.geany/geany_fifo.0 or whatever was specified with the -c
command line switch.
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).
Regards,Alexandre Moreira.More interesting could be the variable app->fifo_ioc, which points to
the open IOChannel to this file. But who knows who are IOChannels used
under Windows ;-).
Regards,
Enrico
--
Get my GPG key from http://www.uvena.de/pub.key_______________________________________________
Geany mailing list
Geany@uvena.de
http://uvena.de/cgi-bin/mailman/listinfo/geany