Autor Beitrag
Lemmy
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 792
Erhaltene Danke: 49

Windows 7 / 10; CentOS 7; LinuxMint
Delphi 7-XE10.1, VS 2015
BeitragVerfasst: Di 29.11.05 11:42 
Hallo,

ich habe hier eine .NET Bibliothek (1.1) die ich in Delphi 7 nutzen will. Ich habe die Typlibraries schon importiert, da gab es keine Probleme.

Auch innerhalb der IDE gab es keine Probleme beim Programmieren, alle Klassen haben schön ihre Methoden/Eigenschaften angezeigt. Wenn ich das Programm starte, bricht es aber beim Erzeugung einer Instanz einer Klasse aus der Bibliothek mit der Fehlermeldung "Klasse nicht registriert" ab.

Die .NET Assemblies liegen im GAC (mit gacutil reinkopiert). Nach der Suche habe ich dann noch die .tlb mit "tregsrv" registriert, bringt aber keine Änderung. Was muss ich noch machen?

Grüße
Lemmy
MagicAndre1981
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Di 29.11.05 14:39 
Sind alle Klassen oder die Member davon comvisible?

André
Lemmy Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 792
Erhaltene Danke: 49

Windows 7 / 10; CentOS 7; LinuxMint
Delphi 7-XE10.1, VS 2015
BeitragVerfasst: Di 29.11.05 14:48 
Hallo André,

ich gehe davon aus, da C++-Jünger die Bibliothek ebenfalls nutzen. Ich werde aber mal beim Hersteller nachfragen...

Grüße
Lemmy
Lemmy Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 792
Erhaltene Danke: 49

Windows 7 / 10; CentOS 7; LinuxMint
Delphi 7-XE10.1, VS 2015
BeitragVerfasst: Di 29.11.05 15:46 
Hi,

hier die komplette Lösung:

bdn.borland.com/arti...0,1410,32754,00.html

Die Assemblies müssen mit "regasm MyAssembly.dll" registriert werden, nicht mehr mit tregsrv.

Grüße
Lemmy