Verwenden Sie DLL, kompiliert in Delphi 7 in C#C#

Ein Treffpunkt für C#-Programmierer
Anonymous
 Verwenden Sie DLL, kompiliert in Delphi 7 in C#

Post by Anonymous »

Ich muss eine DLL (Hardware -ID -Extraktor) verwenden, die in Delphi 7 in meiner C# -Anwendung erstellt wurde.// CPU
function GetCPUSpeed: Double;
function CPUFamily: ShortString; { Get cpu identifier from the windows registry }
function GetCpuTheoreticSpeed: Integer; { Get cpu speed (in MHz) }
function IsCPUIDAvailable: Boolean; Register;
function GetCPUID (CpuCore: byte): ShortString;
Function GetCPUVendor: ShortString;

// RAM
function MemoryStatus (MemType: Integer): cardinal; { in Bytes }
function MemoryStatus_MB (MemType: Integer): ShortString; { in MB }

// HDD
function GetPartitionID (Partition : PChar): ShortString; { Get the ID of the specified patition. Example of parameter: 'C:' }
function GetIDESerialNumber(DriveNumber: Byte ): PChar; { DriveNr is from 0 to 4 }
< /code>

Wie kann ich Delphi -String auf C#? < /p zuordnen>

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post