so I was trying to test run my dev c++ as usual and it said failed to execute location/name.exe error 193: %1 is not a valid win 32 application. I have not used the compiler
I just experienced this problem and I noticed that if you just save your programs in a folder containing no spaces. My default folder was set in My documents so I made a folder in my F: Drive named programs and saved the programs in it and then compiled them. I didn't experience this error then :)
I solved my problem save the cpp file in a folder with no spaces. For example
Older path c:/Users/jorge santos/programa1.cpp
New path c:/Users/jorgesantos/programa1.cpp