Include dll in the exe

Discussion in 'Questions (Windows Mobile)' started by hung, Jul 24, 2007.

  1. hung

    hung Member Licensed User

    When I deploy my program to someone's pocketpc, I need to copy the exe file, the resource file like face.jpg, and the dll files, which may be complicate for dummy users.

    Any way to compile and embed the dll, jpg etc into the exe so the user only need to copy one exe only?

  2. Erel

    Erel Administrator Staff Member Licensed User

    Images can be embedded to a single file (not the exe file) using BinaryFile.EmbedFile / BinaryFile.RetreiveImage.
    You can't embed the dll files.
    The solution is to create an installer.
    It is pretty easy to create one:
  3. hung

    hung Member Licensed User

    Thanks. That is clear.
  4. Alex812

    Alex812 Member Licensed User

    Also you can use selfextracted archive.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice