Delphi-PRAXiS
Seite 2 von 2     12   

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Win32/Win64 API (native code) (https://www.delphipraxis.net/17-win32-win64-api-native-code/)
-   -   Delphi Memory Information? (https://www.delphipraxis.net/96808-memory-information.html)

KyleKatarn 20. Dez 2013 16:19

AW: Memory Information?
 
Where can i find all these dependancies ?
Is there a zip somewhere or a sample project ?

Thanks !!

Horst0815 20. Dez 2013 16:34

AW: Memory Information?
 
Liste der Anhänge anzeigen (Anzahl: 1)
All needed units inside

KyleKatarn 20. Dez 2013 20:26

AW: Memory Information?
 
Thank you !

It compiles but i'm unable to access my memories properties.

I'm trying to access for each memory bank to :
- Manufacturer
- Size
- Type (DDR2, DDR3,...)
- Serial Number,...

Just like what WMI / SMBIOS retrieves (but with not success on some machine whereas Speccy seems to be able to access these data thru SMBus).

Can you help ?

Here is what I used :
Code:
var
mem:cMemory;
begin
mem:=cMemory.create;

ShowMessage(mem.fgRAMInfo.DRAMType);
Return an empty message box.

Looks like DetectMemCtrl does not find a Controller (VendorID and DeviceID return 0)

KyleKatarn 20. Dez 2013 20:37

AW: Memory Information?
 
And, last question, can i use this code to directly access these tables : http://en.wikipedia.org/wiki/Serial_presence_detect

KyleKatarn 20. Dez 2013 21:02

AW: Memory Information?
 
In fact, i'd be looking for this : http://read.pudn.com/downloads131/so...nit1.cpp__.htm in Delphi.

hathor 20. Dez 2013 21:27

AW: Memory Information?
 
SPDTool_063.zip
http://derpybird.tk/TPU/SPDTool_063.zip

RW Everything
http://rweverything.com/

SMBus
incl. dump_spd
http://community.qnx.com/sf/sfmain/d...1?id=atch12355

KyleKatarn 20. Dez 2013 23:12

AW: Memory Information?
 
Zitat:

Zitat von hathor (Beitrag 1240620)

Looks like perfectly working exe file... but i'd need some Delphi code to use in my own applications.
Anyone can help ?

Technically, how can i replace
Code:
status=devctl(fd, DCMD_SMBUS_READ, &cmd, sizeof(cmd), NULL);
by something acceptable in Delphi for Windows (D7) ?

Horst0815 21. Dez 2013 00:24

AW: Memory Information?
 
Liste der Anhänge anzeigen (Anzahl: 1)
Try This (Early Version)
http://www.delphipraxis.net/1176944-post2.html

KyleKatarn 21. Dez 2013 08:40

AW: Memory Information?
 
Zitat:

Zitat von Horst0815 (Beitrag 1240640)

Sorry, this read SMBios, not SMBus. And this is not source code ;-(

KyleKatarn 22. Dez 2013 09:13

AW: Memory Information?
 
Up...


Alle Zeitangaben in WEZ +1. Es ist jetzt 15:16 Uhr.
Seite 2 von 2     12   

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz