I have a ton of bugs/suggestions.......
First off the ocx's you are using don't self-register.... I get an error and can't even start the fe. Your going to have ot use a proper install program or make a bat that uses regsvr(which i can tell you from experince can be a pain to support)
Secondly your fe appears to be extremely simple, but you are asking the user for far too much data.... all you need from them is the path to mame and the mame exe name.
I'll give examples in vb, but there are similar functions for c++ and all the visual studio languages:
In your cl.exe you ask for the path for mame.... you've aleady asked for that in your ini file so simply read that path.
You don't need to give the user the option as to what to save the gamelist text as..... make a special copy that only your fe uses and you've solved many user errors. (they are dumb, they'll delete it out of the mame directory and then complain to you that yoru fe doesn't work)
Also save it in the front end's working directory. You can get this with app.path in vb.
Which brings me to your third issue. You are asking for the path to the myfe.ini. Why? It's in app.path & "\myfe.ini"
Lastly, you are asking for the windows version so you can figure out which command.exe to call. This sends up a big red flag to me as you shouldn't be calling the command line.
Lets say your path to mame is c:\mame, the code you should run is:
chdrive "c:\mame\"
chdir "c:\mame\"
shellandwait "mame.exe -listfull >" & app.path &"\games.txt"
and poof a gamelist is generated in the myfe folder
(btw the shellandwait command is a function that utilizes the regular old shell command with a waitforprocess call. There are about a million examples of shell and wait on the net.)
Ok I think that covers everything, but keep in mind I can't even get the fe to run yet.
I'm not ragging on ya, I just want to drill in the concept of only asking smart questions. Don't ask the user when their birthday is and then ask them how old they are... you can calculate that yourself with the birthday
Btw I hope you get this thing working... a vertical fe for windows is severely needed.