How files will be packaged into the DLL

I wrote a DLL library, which is called the binary large data files, these files are linked to each other, so there are different directory. It is time to call this DLL, still have to copy the corresponding folder to the run directory, think too much trouble, there is no way to get these files into DLL, some words and how to call. Online expert...

Started by Roy at February 02, 2016 - 4:17 AM

The reply to 2013-11-02 21:48:58 was a moderator to delete

Posted by Levi at November 15, 2016 - 8:40 PM

You can use the resource file (resx) to store binary data file.

Posted by Avery at November 19, 2016 - 9:23 PM

The 1 floor can detailed.
The 2 floor, I have many files, and a directory with a specific relationship

Posted by Roy at November 21, 2016 - 9:43 PM

Consider using application virtualization. This is not the best way to modify the program.
For example, VMWare ThinApp
Microsoft App-V

Posted by Joanna at December 01, 2016 - 10:39 PM

DLL can be modified, to support access to those files binary data from the specified directory, so you don't need to copy.

Posted by Sean at December 07, 2016 - 11:01 PM

Can these binary files in the installation process, the installation program to complete the task?

Posted by Corey at December 09, 2016 - 11:35 PM

The binary data file all the generation to the directory, --> right click each binary data files in the project properties; --> --> copied to the output directory, select "if a sample copy"
All binary files that are generated in the production directory, do not copy the past, issued no problem.

Posted by Devin at December 16, 2016 - 11:47 PM

You may not understand what I mean, I just want to know can put the files packaged into DLL.
Because when I used to other people just copy an DLL file, and not a dll+ a pile of documents

Posted by Roy at December 26, 2016 - 12:44 AM

Before, no one will want to do it?

Posted by Roy at January 08, 2017 - 1:38 AM

Files will be packaged into the DLL, is the use of the resource file.

Posted by Ahern at January 11, 2017 - 3:02 AM

Project - add new item - resource file
Types: strings, images, audio files, icon, add resources, other.....

Posted by Kenny at January 12, 2017 - 2:03 AM

Agree with the above ways to do

Posted by Roxanne at January 13, 2017 - 3:54 AM