flat assembler
Message board for the users of flat assembler.

Index > Windows > format PE64 GUI 4.0 and GUI 5.0 what are the differences ?

Author
Thread Post new topic Reply to topic
Roman



Joined: 21 Apr 2012
Posts: 1792
Roman 30 Nov 2019, 15:45
What are the differences ?
Why needed GUI 5.0 ?
Post 30 Nov 2019, 15:45
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20334
Location: In your JS exploiting you and your system
revolution 30 Nov 2019, 16:01
There is no difference in the output file except for the header to define the version.

Where it matters is for Windows to load the file. If you say 5.0 but your Windows only supports 4.0 then it won't load or run.

Windows may enable some extra features, or link the code with different system DLL versions.
Post 30 Nov 2019, 16:01
View user's profile Send private message Visit poster's website Reply with quote
ProMiNick



Joined: 24 Mar 2012
Posts: 799
Location: Russian Federation, Sochi
ProMiNick 30 Nov 2019, 17:58
If thour program targeted Vista+ and use more extended structures for common controls than in official package thou could use PE GUI 6.0 so program will not crash but notice user that it for other OS.
If thou use unicode headers so that will be not honesty to use PE GUI 4.0 because there is no support for unicode in win95 (4.0 is win95)
if thour app is 64 bit GUI 5.0 is minimum.

For every windows versions size of some common controls are different - there is needed research to prove fact that according to requested GUI version Windows will load appropriate COMCTL.DLL.

I suspect if thou use structures from fasm package and define GUI 6.0 program will crash on use of some common controls.
Post 30 Nov 2019, 17:58
View user's profile Send private message Send e-mail Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8353
Location: Kraków, Poland
Tomasz Grysztar 30 Nov 2019, 20:15
ProMiNick wrote:
(4.0 is win95)
NT 4.0 is also, well, 4.0.
Post 30 Nov 2019, 20:15
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.