Author Topic: Hardware Enumerator [pre-release]  (Read 9156 times)

Raistlin

  • Member
  • ***
  • Posts: 363
Re: Hardware Enumerator [Beta Test]
« Reply #30 on: February 07, 2017, 04:47:05 PM »
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

  • Member
  • ***
  • Posts: 363
Re: Hardware Enumerator [Beta Test]
« Reply #31 on: February 20, 2017, 01:16:00 AM »
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--

  • Administrator
  • Member
  • ******
  • Posts: 5772
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: Hardware Enumerator [Beta Test]
« Reply #32 on: February 20, 2017, 02:46:02 AM »
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.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :biggrin:

Raistlin

  • Member
  • ***
  • Posts: 363
Re: Hardware Enumerator [Beta Test]
« Reply #33 on: February 20, 2017, 06:03:09 AM »
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

  • Member
  • *****
  • Posts: 1066
Re: Hardware Enumerator [Beta Test]
« Reply #34 on: February 20, 2017, 07:40:13 AM »
Same problem for me, shows 6.2 (Windows 8), should be 6.3 (Windows 8.1).
All the other stuff seems to be OK.
I can walk on water but stagger on beer.

Raistlin

  • Member
  • ***
  • Posts: 363
Re: Hardware Enumerator [Beta Test]
« Reply #35 on: December 12, 2017, 01:08:42 AM »
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

  • Member
  • *****
  • Posts: 1648
Re: Hardware Enumerator [Beta Test]
« Reply #36 on: December 12, 2017, 05:13:57 AM »
 :t
What about including sound devices.
Creative coders use backward thinking techniques as a strategy.

Raistlin

  • Member
  • ***
  • Posts: 363
Re: Hardware Enumerator [Beta Test]
« Reply #37 on: December 12, 2017, 06:05:03 AM »
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

  • Member
  • *****
  • Posts: 1066
Re: Hardware Enumerator [Beta Test]
« Reply #38 on: December 12, 2017, 10:07:11 AM »
Win10 Pro x64  :t
I can walk on water but stagger on beer.

Siekmanski

  • Member
  • *****
  • Posts: 1648
Re: Hardware Enumerator [Beta Test]
« Reply #39 on: December 12, 2017, 05:34:18 PM »
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

PPS- did the test piece work for what it was meant for ?

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

Raistlin

  • Member
  • ***
  • Posts: 363
Re: Hardware Enumerator [Beta Test]
« Reply #40 on: December 12, 2017, 11:43:11 PM »
@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

  • Regular Member
  • *
  • Posts: 47
  • Never be pleased, always improve
    • Grincheux's Tools
Re: Hardware Enumerator [Beta Test]
« Reply #41 on: December 13, 2017, 02:04:29 PM »
Kenavo
---------------------------
Grincheux / Jokaste

felipe

  • Member
  • ****
  • Posts: 930
  • Eagles are just great!
Re: Hardware Enumerator [Beta Test]
« Reply #42 on: December 13, 2017, 02:10:04 PM »
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:
Felipe.

Raistlin

  • Member
  • ***
  • Posts: 363
Re: Hardware Enumerator [Beta Test]
« Reply #43 on: December 13, 2017, 07:16:25 PM »
@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

  • Member
  • ***
  • Posts: 297
Re: Hardware Enumerator [Beta Test]
« Reply #44 on: December 13, 2017, 08:14:25 PM »
Hi Raistlin,

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

Code: [Select]
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

Code: [Select]
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>                                |