I am creating a class library application that contains some referenced DLLs, such as Skype4COM, which is clearly not a native object, so I just want to learn how to embed this DLL in my DLL, appearing after creating the solution.
I just don’t want to see the people I used to develop this application, and I don’t want them to fight skype4com.dll to import it into their projects.
Ps: to use skype4com.dll it is necessary to register it in windows using the cmd window: regsvr32.exe dllpath
So it causes an error or is there some kind of work for something.
Thanks in advance.
Sincerely.
- , . , , , , Reflector.
- . , COM- .NET 3.5, , .
, # 4.0 .NET 4.0 , COM. PIA, , COM /, . PIA.
.NET 4.0, , COM PIA, - . , , , , : . .NET 4.0 ( , ), , COM PIA .
, , , Fody.Costura nuget, .
COM- In-proc (DLL, regsvr32) , , COM- .
Registration with regsvr32 provides the COM classes implemented on the COM server to the registry. Later, consumers of this server will search the registry to find where the COM server is and try to load it and call the DllGetClassObject () function. If they fail, they will not be able to use the COM server. I am sure that you cannot implement and maintain the functioning of this mechanism.
This link may help ... IL merge
However, ILMerge will not work for unmanaged types.
Source: https://habr.com/ru/post/1713818/More articles:Save me on a business object - c #Function pointer as template argument? - c ++How to uniquely identify a remote computer in php? - phpsql command to read a specific sheet, column - sqlPassing Function Type in VB.NET - vb.netHow to get IntPtr pointing to Integer in VB.NET? - vb.netНевозможно создать JAXBContext в веб-службе Java - javaWPF Insert DLL into EXE - exeCan I read and write to multiple file descriptors at the same time (Perl)? - perlhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1713823/send-commands-to-other-command-line-programs&usg=ALkJrhjy1pwYePjaSrMnRxErI_VAp6GpgAAll Articles