Program that is 'not a valid win32 application'
Posted on 2000-04-24
I have written a program 'wrapper' that appends itself to an existing program. This works, (and has worked for 12 months or more) on W95 and W98 but now I have to convert it to work on NT and W2000.
When I try to run the program however windows reports 'program xxx.exe is not a valid win32 application' and the program does not even begin to run.
What could be causing this problem? I suspect it could be something in the PE header but I don't know for sure and I don't know how to find out what W2000 is complaining about.
If need be I can email the program (it is about 250k zipped) to anyone who is prepared to look at this problem.
The high points are because I have spent a lot of time on this and been unable to fix it and anyone able to help is likely to need to have good knowledge of PE file formats and W2000.