Autor Beitrag
HBriele
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 80



BeitragVerfasst: Fr 25.06.04 14:53 
Hallo zusammen,
Weiß jemand wie man eine Seriennummer des Mainboardes in Delphi auslesen kann?
Wenn Ja, Bitte mit Programmcode!
Danke!!

MfG
patrick
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 1481

WIN2k, WIN XP
D6 Personal, D2005 PE
BeitragVerfasst: Sa 26.06.04 10:59 
:welcome: im DF

hier ist ein artikel (englisch) darüber inklusive source:

www.latiumsoftware.com/en/delphi/00050.php

_________________
Patrick
im zweifelsfall immer das richtige tun!!!
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Sa 26.06.04 12:46 
ist die iegendlich eindeutig, oder kann es auch sein, das es mal 2 gleiche gibt ??

_________________
In the beginning was the word.
And the word was content-type: text/plain.
HBriele Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 80



BeitragVerfasst: Sa 26.06.04 13:46 
Danke Patrik,

nur leider habe ich die Unit's SHA1 u. Base64 nicht und die anderen Beispiele funktionieren nicht!
Fehlermeldung des Debuggers:
Im Pojekt ..Exe ist eine Exeption der Klasse EAccessViolation aufgetreten.... Zugriffsveretzung gei verschiedenen Adresse.

Eventuell gibt es ja noch andere Beispiele ???

Danke!!
raziel
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 2453

Arch Linux
JS (WebStorm), C#, C++/CLI, C++ (VS2013)
BeitragVerfasst: Sa 26.06.04 13:52 
HBriele hat folgendes geschrieben:
Im Pojekt ..Exe ist eine Exeption der Klasse EAccessViolation aufgetreten.... Zugriffsveretzung gei verschiedenen Adresse.

Hast Du WinNT/Win2k/WinXP? Dann gehts nicht.
Die Units SHA1 und Base64 brauchst Du in dem Beispiel auch nur, um die Seriennummer zu "codieren" um festzustellen, ob der PC auf dem das Prog gestartet wurde auch der ist, auf dems installiert wurde (was imho eigentlich unsinnig ist...).
Oft findet man auch einfach das hier (was auch bei dem Beispiel oben verwendet wird):
ausblenden Delphi-Quelltext
1:
 SerialNumber:=string(pchar(ptr($FEC71)));					

(Quelle: Delphi Pages)

raziel

_________________
JSXGraph
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Sa 26.06.04 15:36 
gibts denn auh ne möglichkeit für Win NT/2k/XP ??

_________________
In the beginning was the word.
And the word was content-type: text/plain.