Q: Can you use a Class Library in another environment than Studio?

  • Thread starter Thread starter Visual Systems AB \(Martin Arvidsson\)
  • Start date Start date
V

Visual Systems AB \(Martin Arvidsson\)

Hi!

Is it possible to use a .NET Class Library in another environment. I have
this 4GL, you can use regular DLL's there, but is .NET Class Library made
for the .NET Environment only?

Regards
Martin
 
Visual said:
Hi!

Is it possible to use a .NET Class Library in another environment. I have
this 4GL, you can use regular DLL's there, but is .NET Class Library made
for the .NET Environment only?

A .NET Class Library is only available in .NET languages. You can,
however, expose your objects as COM objects, if that helps.

Look in the help file for how to set up your library to expose the
objects as COM objects and how to register the library on the target
machine(s).
 
Hi,

You can use it with no modification from any managed environment, if you
want to use this from an unmanaged environment ( vb6, delphi, etc ) you have
to make it COM aware, IIRC all you have to do from VS is in the project
properties page mark it as "Mark for COM interop"


Cheers,
 
Back
Top