Imports Dll

  • Thread starter Thread starter ligi168
  • Start date Start date
L

ligi168

Hi.Can the Dynamic Link Libraries created by C# be used in MS Excel2000 if
it is CLSCompliant?
Thanks.
Agan.
 
C# DLLs are .NET assemblies. To use them inside Excel's VBA (or any other
COM environment), you'll need to use regasm to register your assembly for
COM Interop.

DllImport is for .NET code to invoke the native platform (Platform
Invocation, P/Invoke).

-mike
MVP
 
Back
Top