I developed an windows application and I have a .dll that currently sits outside the dll. If possible, I would rather embed somehow the .dll so I could distrubute the application without having to distrubute the external .dll.
is this possible, and if so, how do I go about doing this?
I developed an windows application and I have a .dll that currently sits outside the dll. If possible, I would rather embed somehow the .dll so I could distrubute the application without having to distrubute the external .dll.
is this possible, and if so, how do I go about doing this?
Thats not the issue. The issue is the final output is that I have the .exe and the external .dll. I want to be able to embed the .dll into the .exe so when I distrubute the app, I only have the 1 .exe and not 2 files (.exe and the .dll)
Thats not the issue. The issue is the final output is that I have the .exe and the external .dll. I want to be able to embed the .dll into the .exe so when I distrubute the app, I only have the 1 .exe and not 2 files (.exe and the .dll)
in such case u've to write the code in any classmodule of that application
The dll is a royalty free lib. I purchased, and though I can freely distrubute the library. I don't want everyone who purchase this app to have access to this lib. So I can't just place the code inside a class in my app, cause I don't have access to the source.
There's no tools to embed dll's inside of .exe's???
Thanks for the replies so far, just trying to figure out how I'm going to distrubute this application.
You might be able to do something sneaky with the resources. I think you need to create an unmanaged resource or something and bind the library inside it to be linked. I've never attempted this, but I seem to recall people doing it back in days of yor.
Try the free utility from Microsoft called 'ILMerge' available at Download details: ILMerge. It enables merging all assemblies that an app uses (.dlls, .exes) into one .exe for easier deployment purposes via the regular Build process in Visual Studio.