Autor Beitrag
Hagbard
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 142

Win XP Home / Pro
D7.1 Architekt
BeitragVerfasst: Mo 19.07.04 15:35 
Hallo zusammen,

ich schreibe z.Z. an einer Library zur Ansteuerung von diverser Hardware, welche von diversen Programmen genutzt werden soll.

Nun gibt es eine HardwareInfoKlasse, in der alle relevanten Informationen zu der entsprechenden Hardware gespeichert wird. Da immer wieder änderungen an dieser Unit gemacht werden, und wir nicht immer alle Programme, welche die Lib einsetzen neu kompilieren möchten.
Suche Ich eine Mögliochkeit, diese Unit bzw. Klasse dynamisch zur Laufzeit einzubinden.

Weiß jemand Rat, kennt jemand eine Lösung??

Mfg
Christian

_________________
I haven't failed, I just found 10,000 ways that won't work!
Udontknow
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2596

Win7
D2006 WIN32, .NET (C#)
BeitragVerfasst: Mo 19.07.04 15:38 
Ja... Öh... DLL??? :think:

Verstehe nicht ganz dein Problem, du sagst doch selbst, daß du bereits dabei bist, diesen Code in eine Library zu stecken. Oder was ist für dich eine "Lib"?

Cu,
Udontknow
Hagbard Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 142

Win XP Home / Pro
D7.1 Architekt
BeitragVerfasst: Di 20.07.04 11:15 
Die Lib ist einfach eine Sammlung von Delphi Packages... Na ja, ne DLL, wird wohl das einzig wirklich wahre sein :-(

_________________
I haven't failed, I just found 10,000 ways that won't work!
maximus
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 896

Win XP, Suse 8.1
Delphi 4/7/8 alles prof
BeitragVerfasst: Di 20.07.04 12:20 
Hi,

packages kannst du auch dynamisch laden: LoadPackage(fileName)

_________________
mfg.
mâximôv
Hagbard Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 142

Win XP Home / Pro
D7.1 Architekt
BeitragVerfasst: Di 20.07.04 16:47 
kewl :-)

Danke!

_________________
I haven't failed, I just found 10,000 ways that won't work!
maximus
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 896

Win XP, Suse 8.1
Delphi 4/7/8 alles prof
BeitragVerfasst: Di 20.07.04 18:13 
Vielleicht hilft dir dieser beitrag auch weiter: www.delphi-forum.de/...ighlight=package+bpl

_________________
mfg.
mâximôv