News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests

Main Menu

Hardware Enumerator [pre-release]

Started by Raistlin, January 24, 2017, 10:19:31 PM

Previous topic - Next topic

Raistlin

RE: non-default IP - thanks again for all the interest.

OK found the solution - seems we have to get the information from the
routing table. We extract the routing table linked list in sorted format.
If first Dest. entry = 0.0.0.0 - the gateway is present and the NIC's IP
given as index into the routing table. Other information like subnet mask
and Network ID can therefore also be extracted.

Will update the app shortly if all goes well......
Are you pondering what I'm pondering? It's time to take over the world ! - let's use ASSEMBLY...

Raistlin

Updated to Ver 0.4 - please see first thread for attachment
Are you pondering what I'm pondering? It's time to take over the world ! - let's use ASSEMBLY...

hutch--

Most looks fine but under the section WINDOWS REPORT the OS version is recognised as version 6 - 2 but the following name is incorrect "Windows 8 / Server 2012". I am running Win 10 Professional 64 bit.

Raistlin

thanks , soooo it's Manifest before
VersionInfo? As it was accurate before update....
Are you pondering what I'm pondering? It's time to take over the world ! - let's use ASSEMBLY...

sinsi

Same problem for me, shows 6.2 (Windows 8), should be 6.3 (Windows 8.1).
All the other stuff seems to be OK.

Raistlin

Uploaded version 0.5 [new features and hopefully bug fixes]
Are you pondering what I'm pondering? It's time to take over the world ! - let's use ASSEMBLY...

Siekmanski

 :t
What about including sound devices.
Creative coders use backward thinking techniques as a strategy.

Raistlin

OUCH, ERM :icon_exclaim:  Siekmanski = Massive respect.
But have you any idea how I might explore such? Inc and libs
are hard to find for Masm. It took me a year for this test piece
, in off time, because of this, not so small fact.....

PPS- did the test piece work for what it was meant for ?
Are you pondering what I'm pondering? It's time to take over the world ! - let's use ASSEMBLY...

sinsi


Siekmanski

It just came to my mind when I saw your app displays the default graphics adapter name.

Don't know if it is something you want in your app.
I can write an example how to get the default sound adapter name or, you can extract the code from EnumSoundcards.zip
http://masm32.com/board/index.php?action=dlattach;topic=6291.0;attach=6668

Quote from: Raistlin on December 12, 2017, 06:05:03 AM
PPS- did the test piece work for what it was meant for ?

Yes.  :t
Creative coders use backward thinking techniques as a strategy.

Raistlin

@Siekmanski - Cool, will check it out thanks man.

Almost done with the DLL conversion - looks semi professional  :P
Will upload soon.
Are you pondering what I'm pondering? It's time to take over the world ! - let's use ASSEMBLY...

Jokaste

Kenavo
---------------------------
Grincheux / Jokaste

felipe

Wow! rastlin, looks pretty cool stuff.  :eusa_clap:

I will prove it on my machine (but i will not upload a picture of it...)  :biggrin:

Raistlin

@Jokaste : OUCH - multiple issues - is this running inside a Virtual Machine ? that might explain allot

1) Speed Approx = 720Mhz - was your laptop in speed-step mode ? (try running detect with charger plugged in)
2) Cores per package count - should be 2 - damnit....
3) Reporting L3 cache - is this correct ? - please try CPU Z and let me know. Ca'nt seem to get full spec sheet on this CPU
4) Display card not popping up - damnit.....

Thanks so Much ! - appreciated - this is beta test after-all - lets catch those bugs. :shock:
Are you pondering what I'm pondering? It's time to take over the world ! - let's use ASSEMBLY...

LiaoMi

Hi Raistlin,

there is an error with the exception in the kernel of windows

EXCEPTION_DEBUG_INFO:
           dwFirstChance: 1
           ExceptionCode: C0000005 (EXCEPTION_ACCESS_VIOLATION)
          ExceptionFlags: 00000000
        ExceptionAddress: 77BDA280 ntdll.77BDA280
        NumberParameters: 2
ExceptionInformation[00]: 00000000 Read
ExceptionInformation[01]: 00000008 Inaccessible Address
First chance exception on 77BDA280 (C0000005, EXCEPTION_ACCESS_VIOLATION)!


after the function call

003315AA                                    | MOV     EDX, DWORD PTR SS:[EBP - C]                             |
003315AD                                    | MOV     DWORD PTR DS:[335218], EDI                              |
003315B3                                    | MOV     EAX, DWORD PTR DS:[EDX + 8]                             |
003315B6                                    | MOV     DWORD PTR DS:[33521C], EAX                              |
003315BB                                    | PUSH    DWORD PTR SS:[EBP - 4]                                  |
003315BE                                    | CALL    <testid.IcmpCloseHandle>                                |