DOS data is just a stub without MZ header (DOSX)
> I don't understand what's the "DOS data" is supposed to be.
Well, that's everything you see in usual DOS executable apart from MZ header.
> Ok, but the problem is that almost all applications are without relocs.
At least this will work for own applications when we can direct the compiler to include relocation data. (But doesn't support customizing stub, otherwise there wouldn't be such problem.)
Btw, the third method should be considered with care, if image base is less than 400000h, that executable won't run in Windows 9x.
Complete thread:
- pestub + large stub = invalid executable for WinXP - grompe, 28.04.2008, 11:44
![Open in board view [Board]](img/board_d.gif)
![Open in mix view [Mix]](img/mix_d.gif)
- pestub + large stub = invalid executable for WinXP - Japheth, 28.04.2008, 11:55
- The -s option doesn't help with large stub - grompe, 28.04.2008, 12:02
- pestub + large stub = invalid executable for WinXP - DOS386, 01.05.2008, 05:19
- Thanks, but there's no need to search for another solution - grompe, 01.05.2008, 17:48
- Thanks, but there's no need to search for another solution - DOS386, 02.05.2008, 21:43
- Thanks, but there's no need to search for another solution - grompe, 01.05.2008, 17:48
- pestub + large stub = invalid executable for WinXP - Japheth, 28.04.2008, 12:29
- DOS data is just a stub without MZ header - grompe, 28.04.2008, 12:37
- Method 1 verified and works! Solution - grompe, 30.04.2008, 12:41
- pestub + large stub = invalid executable for WinXP - Rugxulo, 01.05.2008, 05:48
- Sigh... Still not fixed - grompe, 28.01.2009, 20:51
- Sigh... Still not fixed - Japheth, 30.01.2009, 17:28
- Sigh... Still not fixed - ecm, 30.01.2009, 17:56
- Miscounted, don't take it seriously. - grompe, 30.01.2009, 22:42
- Sigh... Still not fixed - Japheth, 30.01.2009, 17:28
- pestub + large stub = invalid executable for WinXP - Japheth, 28.04.2008, 11:55
Mix view