I've been reading up on portable executables(Portable Executable - Wikipedia, the free encyclopedia), as they quite interest me. I would hate to have to compile my programs to work on different processors. This is in windows I am talking about. I read up a bit on Wow64, but I would like to target Windows 2000+. Alright, I'm going to use an analogy of something that interests me. On pentest forums I see malware developers saying that their malware will work on Windows 2000, xp, vista/win7 32/64bit. The only way I can imagine this can work is because they make their programs Portable executables(Like in the Wiki link). Am I correct on this one? Does anybody have any tutorials on making C programs portable? I have used Google to try and find some, but sometimes the best information doesn't always show up. I'm guessing you guys would have the best knowledge in this and could give me some references. Please and thank you.