Found a couple of "XXX is there a way to do this on Windows" inpg_regress.c that I had missed. The answer to the question is yes,attached is a patch that does it.
//Magnus