News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

OS Info for Windows 8 and 10

Started by dedndave, October 02, 2015, 07:14:44 AM

Previous topic - Next topic

jj2007

Quote from: ToutEnMasm on November 05, 2015, 07:13:40 PM
Give the good answer for Windows 10 with getversionex.

Major version: 6
Minor version: 2

Bad answer.

Quote from: sinsi on October 02, 2015, 01:42:15 PM[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion]
"ProductName"="Windows 10 Pro"
"CurrentVersion"="6.3"

TouEnMasm

must be the answer of masmbasic or another joke.

Fa is a musical note to play with CL

TWell

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion]
"CurrentVersion"="6.3"
"ProductName"="Windows 10 Home"
OllyDbg 2Dump - Process Environment Block
Address   Hex dump     Decoded data             Comments
7FFDE0A4   .  0A000000 DD 0000000A              ; OSMajorVersion = 10.
7FFDE0A8   .  00000000 DD 00000000              ; OSMinorVersion = 0
7FFDE0AC   .  0028     DW 2800                  ; OSBuildNumber = 10240.
7FFDE0AE   .  0000     DW 0                     ; OSCSDVersion = 0
7FFDE0B0   .  02000000 DD 00000002              ; OSPlatformId = 2

TouEnMasm

The "Dump - Process Environment Block" can be surely a usefull information
seem to be an OSVERSIONINFOEX STRUCT.
Is it right ?
Fa is a musical note to play with CL

jj2007

Quote from: ToutEnMasm on November 06, 2015, 05:57:54 PM
must be the answer of masmbasic or another joke.

Sorry, 6.2 was YOUR answer. And yes, I agree it's another joke.

TouEnMasm


My answer is this one
http://masm32.com/board/index.php?topic=4763.msg51370#msg51370
get pair spectacles trifocals and read the messagebox

Fa is a musical note to play with CL

jj2007

You mean version.zip? Doesn't work on Windows 7, the OS says it requires some strange msvcrt.dll.
Seriously, Yves, how can you write a "tell me my OS version" proggie that doesn't even run on all recent versions???

TWell

It don't run in my Windows 10. It needs VCRUNTIME140D.dll ucrtbased.dll .....

Adamanteus

 I think that's because you have craped variation of Longhorn ..., but with exceptions in threads ... and Metro interface and ... some other 'very useful things' ...

TouEnMasm

Quote
It don't run in my Windows 10. It needs VCRUNTIME140D.dll ucrtbased.dll

Those one are provided with the redistributable package of c++ 2015,not witn win 10

For JJ :
Quote
"tell me my OS version" proggie that doesn't even run on all recent versions???
update your knowledge of the Windows 10 system and of visual studio 2015,it is not to late.
here is the link for you
https://www.visualstudio.com/en-us/downloads/2015-redistributables-rc-vs.aspx
The signature of the visual studio 2015 is the need of *140*.dll

extract:
Quote
Visual C++ Runtime Files:

For your convenience, we have provided the following folders for use when distributing VC++ runtime files. Subject to the License Terms for the software, you may copy and distribute with your program any of the files within the folders listed below. You may not modify these files.

\VC\redist\arm\Microsoft.VC140.CRT\appcrt140.dll
\VC\redist\arm\Microsoft.VC140.CRT\concrt140.dll
\VC\redist\arm\Microsoft.VC140.CRT\desktopcrt140.dll
\VC\redist\arm\Microsoft.VC140.CRT\msvcp140.dll
\VC\redist\arm\Microsoft.VC140.CRT\vccorlib140.dll
\VC\redist\arm\Microsoft.VC140.CRT\vcruntime140.dll
\VC\redist\arm\Microsoft.VC140.CXXAMP\vcamp140.dll
\VC\redist\arm\Microsoft.VC140.OPENMP\vcomp140.dll
\VC\redist\x64\Microsoft.VC140.CRT\appcrt140.dll
\VC\redist\x64\Microsoft.VC140.CRT\concrt140.dll
\VC\redist\x64\Microsoft.VC140.CRT\desktopcrt140.dll
\VC\redist\x64\Microsoft.VC140.CRT\msvcp140.dll
\VC\redist\x64\Microsoft.VC140.CRT\vccorlib140.dll
\VC\redist\x64\Microsoft.VC140.CRT\vcruntime140.dll
\VC\redist\x64\Microsoft.VC140.CXXAMP\vcamp140.dll
\VC\redist\x64\Microsoft.VC140.MFC\mfc140u.dll
\VC\redist\x64\Microsoft.VC140.MFC\mfcm140u.dll
\VC\redist\x64\Microsoft.VC140.MFCLOC\mfc140chs.dll
\VC\redist\x64\Microsoft.VC140.MFCLOC\mfc140cht.dll
\VC\redist\x64\Microsoft.VC140.MFCLOC\mfc140deu.dll
\VC\redist\x64\Microsoft.VC140.MFCLOC\mfc140enu.dll
\VC\redist\x64\Microsoft.VC140.MFCLOC\mfc140esn.dll
\VC\redist\x64\Microsoft.VC140.MFCLOC\mfc140fra.dll
\VC\redist\x64\Microsoft.VC140.MFCLOC\mfc140ita.dll
\VC\redist\x64\Microsoft.VC140.MFCLOC\mfc140jpn.dll
\VC\redist\x64\Microsoft.VC140.MFCLOC\mfc140kor.dll
\VC\redist\x64\Microsoft.VC140.MFCLOC\mfc140rus.dll
\VC\redist\x64\Microsoft.VC140.OpenMP\vcomp140.dll
\VC\redist\x86\Microsoft.VC140.CRT\appcrt140.dll
\VC\redist\x86\Microsoft.VC140.CRT\concrt140.dll
\VC\redist\x86\Microsoft.VC140.CRT\desktopcrt140.dll
\VC\redist\x86\Microsoft.VC140.CRT\msvcp140.dll
\VC\redist\x86\Microsoft.VC140.CRT\vccorlib140.dll
\VC\redist\x86\Microsoft.VC140.CRT\vcruntime140.dll
\VC\redist\x86\Microsoft.VC140.CXXAMP\vcamp140.dll
\VC\redist\x86\Microsoft.VC140.MFC\mfc140u.dll
\VC\redist\x86\Microsoft.VC140.MFC\mfcm140u.dll
\VC\redist\x86\Microsoft.VC140.MFCLOC\mfc140chs.dll
\VC\redist\x86\Microsoft.VC140.MFCLOC\mfc140cht.dll
\VC\redist\x86\Microsoft.VC140.MFCLOC\mfc140deu.dll
\VC\redist\x86\Microsoft.VC140.MFCLOC\mfc140enu.dll
\VC\redist\x86\Microsoft.VC140.MFCLOC\mfc140esn.dll
\VC\redist\x86\Microsoft.VC140.MFCLOC\mfc140fra.dll
\VC\redist\x86\Microsoft.VC140.MFCLOC\mfc140ita.dll
\VC\redist\x86\Microsoft.VC140.MFCLOC\mfc140jpn.dll
\VC\redist\x86\Microsoft.VC140.MFCLOC\mfc140kor.dll
\VC\redist\x86\Microsoft.VC140.MFCLOC\mfc140rus.dll
\VC\redist\x86\Microsoft.VC140.OPENMP\vcomp140.dll


Fa is a musical note to play with CL

TWell

VCRUNTIME140D.dll ucrtbased.dll are not in that list.
You posted debug version :(

jj2007

Quote from: ToutEnMasm on November 07, 2015, 06:34:58 PM

For JJ :
QuoteSeriously, Yves, how can you write a "tell me my OS version" proggie that doesn't even run on all recent versions???
update your knowledge of the Windows 10 system and of visual studio 2015,it is not to late.
here is the link for you
https://www.visualstudio.com/en-us/downloads/2015-redistributables-rc-vs.aspx

Yves,

Does Microsoft pay you for this blunt attempt to force Visual Crap down our throats? Plus your "ready to use SDK", of course?

In terms of sheer size, VS 2015 = 800 x Masm32, 7700 x MasmBasic...

Visual Studio Community 2015 has a 3.7 GB ISO, which will take about 2 hours on a 4 mbps connection.