Embed interop DLL file in executable

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
 
D

Daniel

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
 
R

remotesoft

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.
 
G

Guogang

All three replies I got so far are helpful.

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

Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top