Pieter Hulshoff wrote:
Anyone? I've Googled around for a bit, but I haven't been able to find an
answer yet, and I prefer not to use a temporary file. I'm working on MAMEd
V0.4 right now, and want to stop using the gamelist file, so I need to
somehow capture the xmame -listinfo output in a strin
The "true Unix way" would be to pipe the xmame output to your program using
your shell:
$ xmame.x11 -listinfo | mamed
Then read from standard input in your program.
On April 10, 2004 0339, Pieter Hulshoff wrote:
> Anyone? I've Googled around for a bit, but I haven't been able to find an
> answe
Sorry for getting a bit OT with this, but what framework are you guys using
for the actual front end?
I'm trying to make a start on a decent front end for the GP32 linker (yes,
nothing to do with xmame i'm afraid). I'm using kdevelop, so i'm going into
the new project dialogue. If i pick a "kde
On Saturday 10 April 2004 09:47, R. Reucher wrote:
> I did that using Qt's QProcess class for the QMamecat frontend. If you need
> any additional info, let me know...
On Saturday 10 April 2004 10:15, smf wrote:
> I normally use popen(), you give it a command and it returns a file stream.
> I don't
ame] Programming (C++): How do I capture the xmame output in a
string?
> Anyone? I've Googled around for a bit, but I haven't been able to find an
> answer yet, and I prefer not to use a temporary file. I'm working on MAMEd
> V0.4 right now, and want to stop using the game
Anyone? I've Googled around for a bit, but I haven't been able to find an
answer yet, and I prefer not to use a temporary file. I'm working on MAMEd
V0.4 right now, and want to stop using the gamelist file, so I need to
somehow capture the xmame -listinfo output in a string.
Regards,
Pieter Hu
Pieter Hulshoff wrote:
> Anyone? I've Googled around for a bit, but I haven't been able to find an
> answer yet, and I prefer not to use a temporary file. I'm working on MAMEd
> V0.4 right now, and want to stop using the gamelist file, so I need to
> somehow capture the xmame -listinfo output in a