How to use unregistered dll from c #?

I have a custom dll (not registered) with which I need to access through C #. How to do this without registering a DLL?

Edit: this is a C ++ dll.

+3
source share
2 answers

See Without registering COM Interop :

A visa-free COM interface activates the component without using the Windows registry to store assembly information. Instead of registering components on the computer during deployment, you create Win32-style manifest files during development that contain information about binding and activation. These manifest files, not registry keys, activation of the object.

:

  • DLL, ​​ .
  • XCOPY FTP . .
+4

, , DLL P/Invoke? , dll , exe . # dll ++, . . DllImportAttribute.

+1

Source: https://habr.com/ru/post/1746282/


All Articles