Welcome to Emulationworld

Forum Index | FAQ | New User | Login | Search

*View All ThreadsShow in Flat Mode*


SubjectRe: Bug in CMP - MameExe in CMP folder - always run Reply to this message
Posted byRoman
Posted on05/24/05 01:32 PM



haw...you found a good one ;)
It's a behaviour of the CreateProcess runtime function which is used to run mame.exe. I usually change to the exe's folder and call CreateProcess from there...now I reread the docs for CreateProcess ...and found out why it reacts weird:


If the file name does not contain a directory path, the system searches for the executable file in the following sequence:

The directory from which the application loaded.
The current directory for the parent process.


So it indeed grabbed mame.exe from the cmpro path....
I "fix" that in the next version..


Some notes though:
- Who the hell keeps a mame binary in the cmpro folder ;)
- you don't need xml2info. CMPro got a buildin xml parser.

Roman Scherzer
ClrMamePro

-
Entire Thread
Subject  Posted byPosted On
*Bug in CMP - MameExe in CMP folder - always run  PacFan05/23/05 10:59 PM
.*Re: Bug in CMP - MameExe in CMP folder - always run  Roman05/24/05 01:46 AM
..*Re: Bug in CMP - MameExe in CMP folder - always run  PacFan05/24/05 12:24 PM
....Re: Bug in CMP - MameExe in CMP folder - always run  Roman05/24/05 01:32 PM
....*Re: Bug in CMP - MameExe in CMP folder - always run  PacFan05/24/05 02:36 PM
.....*Re: Bug in CMP - MameExe in CMP folder - always run  Roman05/24/05 03:14 PM