Re: Why is EXW Win 3.1 application ?
- Posted by Martin Stachon <martin.stachon at worldonline.cz> Jan 05, 2002
- 439 views
Rob Craig wrote: > Martin Stachon writes: > > I found an interesting thing. > > EXW is a Win 3.1 application. > > If I open Dr.Watson (drwatson.exe), and choose > > 'Tasks', it is shown there that exw is an 3.1 application > > all other are listed as 4.0. > > That's interesting. > Of course exw is not a 3.1 application. > It won't even run on 3.1 (unless you install > a special win32s layer on top of win 3.1) > But I guess there are some differences in the > way it runs. Thanks. I'll keep that in mind. Rob, it has nothing to do with the way it runs. It is about subsystem version in the PE header. I changed the version by changing offsets #000000C8 to #000000CA : from #03000A (3.10) to #040000 (4.0) (In unpacked exw) Now Windows treat exw as 4.0 application. I don't know about WATCOM, but I guess you can tell it to set the version. I think you should change it, users except 4.0 bahavior. (For example I was still wondering why in Font dialog I can't choose Script...). This also causes some differences in interpreted/translated code. Martin