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?

    Thanks.
     
  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: http://www.basic4ppc.com/forum/showthread.php?t=37
     
  3. hung

    hung Member Licensed User

    Thanks. That is clear.
     
  4. Alex812

    Alex812 Member Licensed User

    Also you can use selfextracted archive.
     
Loading...