|
-
Sep 9th, 2006, 08:41 PM
#1
Thread Starter
Member
[2.0] Embed Dll or Dll source into EXE
I'm wondering if it's possible to embed a DLL, or the DLL source (project file) into another program's EXE?
I'm making an auto-updator, and I am using an open-source DLL for FTP connections, and I'm wanting to embed it into my auto-updater EXE, so there's only one file.
-
Sep 9th, 2006, 09:09 PM
#2
Re: [2.0] Embed Dll or Dll source into EXE
An executable file must be on disc to be executed. That means that you can embed the library or its source in your EXE, but you'll have to extract it and save it to disc to be able to use it. That would mean compiling it if you use the source. If it's open source then you may be able to actually use the source code in your own project, providing you give proper credit. That depends on the license though. Do the .NET FTP classes not do what you need?
-
Sep 9th, 2006, 09:19 PM
#3
Thread Starter
Member
Re: [2.0] Embed Dll or Dll source into EXE
I wasn't aware any FTP stuff is in the .Net framework. That's cool.
But my friend was using the open-source edtFTPnet stuff, so it's what I used, because it's very quick and easy.
My project is finished, and I'd just like to get it down to one file. I don't mind if the dll gets extracted when I run the EXE, given that it's going to download a whole bunch of other files at the same time.
how would i go about doing that?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|