Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Win32/Win64 API (native code) (https://www.delphipraxis.net/17-win32-win64-api-native-code/)
-   -   Delphi Ressourcen eines Gerätes? (https://www.delphipraxis.net/185948-ressourcen-eines-geraetes.html)

Mattze 21. Jul 2015 09:52

Ressourcen eines Gerätes?
 
Hallo,

unter Win 7 kriegt man die Hauptspeicherressourcen eines Gerätes mit
CM_Get_First_Log_Conf.
Aber, wie kriegt man die unter Win 8 64 (und höher)?
MS schreibt nämlich:
"Starting with Windows 8, CM_Get_First_Log_Conf returns CR_CALL_NOT_IMPLEMENTED when used in a Wow64 scenario. To request information about the hardware resources on a local machine it is necessary implement an architecture-native version of the application using the hardware resource APIs. For example: An AMD64 application for AMD64 systems."

Ich verstehe das nämlich nicht, bzw. ich kriege kein "Handlungsvorschrift" da raus.

Gruß
Mattze

Union 21. Jul 2015 09:55

AW: Ressourcen eines Gerätes?
 
D.h. Du musst eine 64-bit Version der Anwendung erstellen, damit die Informationen abgerufen werden können.

Mattze 21. Jul 2015 12:39

AW: Ressourcen eines Gerätes?
 
Hallo,

danke für die schnelle Antwort.

Also ist die Sache für mich gestorben (Delphi 7 pro).

Oder ich leiste mir eine neue Delphi-Version, die das kann.
(Äh... Ab welcher Version kann Delphi 64 und 32 bit?)

Allerdings ist das auch nicht sooo wichtig.
Es ist bloße Neugierde bei mir, was man alles so machen kann.

Gruß
Mattze

Dalai 21. Jul 2015 13:18

AW: Ressourcen eines Gerätes?
 
Zitat:

Zitat von Mattze (Beitrag 1309373)
(Äh... Ab welcher Version kann Delphi 64 und 32 bit?)

XE2.

MfG Dalai

Mattze 21. Jul 2015 14:16

AW: Ressourcen eines Gerätes?
 
Hallo,

danke!
Irgendwie ist ja eine neue Delphi-Version sowieso mal fällig.

Delphi 7 pro ist doch schon arg alt...

Gruß
Mattze


Alle Zeitangaben in WEZ +1. Es ist jetzt 17:31 Uhr.

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