Using .NET dll in Delphi

  • Thread starter Thread starter Tim Bird
  • Start date Start date
T

Tim Bird

We are moving to .NET as a developent platform from Delphi. At the moment we
have a Dll in .NET and are trying to use it in Delphi 6. We have got as far
ac creating a type library for the dll. But as soon as we try to import this
into Delphi it tries to bring the type lib for the core of .NET in too. This
makes delphi run away and hide shaking in a corner. (basically loads of
types with names that clash with delphi). Has anybody done this or know a
link to any sites that may contain help. I have tried google for the obvious
and come up with nothing.

Thanks in advance.
 
Thanks. But we have done that. It is when the type library that is created
is imported into delphi that we get the problem.
 
We are moving to .NET as a developent platform from Delphi. At the moment we
have a Dll in .NET and are trying to use it in Delphi 6.

You need to register your .NET assembly with the .NET tool RegAsm, and
then you should be able to import it into Delphi like any other COM
object, too - no need to fiddle with type libraries and stuff.....

Marc

================================================================
Marc Scheuner May The Source Be With You!
Bern, Switzerland m.scheuner(at)inova.ch
 
Back
Top