Embed interop DLL file in executable

  • Thread starter Thread starter Guogang
  • Start date Start date
G

Guogang

I am tring to create a single .exe file that user can download.

However, this program need reference to COM object, thus need a interop dll
file like this: Interop.CAPICOM.dll. Is there a way to embed this DLL file
and the exe file into one single executable (like using a static link in the
C++, or the .jar file used by Java).

Thanks,
Guogang
 
You can write the COM wrapper yourself, or use a tool like Reflector to
decompile the Interop dll and copy-paste the code and make minor changes if
nessesary.

Dan
 
You can use our linker tool to do that,

http://www.remotesoft.com/linker

It can link DLLs into your exe; even the framework assemblies (e.g.,
System.Xml.dll) can be linked. It is done selectively with only the
necessary parts of the code are linked into the EXE.
 
All three replies I got so far are helpful.

I find this article being the easiest to implement. :)

Thanks.
 
Back
Top