Good afternoon,
I have created a small program in fwh64, for example, "myapp.exe." The program "myapp.exe" calls a utility, "pdftopng.exe," which is open-source and occupies 1MB, in the background. I would like to distribute my program as a single file, "myapp.exe." Is it possible to include "pdftopng.exe" within "myapp.exe" as a resource or library, or something similar? Then, when the client copies "myapp.exe" to their computer and runs it, it would check if "pdftopng.exe" is in the program's folder, and if it's not, extract it to be used.
Thank you and regards,
Alvaro
Include exe file as a resource (solved)
Re: Include exe file as a resource (solved)
In the rc file:
in fwh
Regards
Alvaro
Code: Select all | Expand
FILE1 RCDATA "..\\..\\GeoTif\\utils\\pdftopng.exe"
Code: Select all | Expand
RCDATATOFILE( GetResources(), "FILE1", "pdftopng.exe" )
Alvaro
- Antonio Linares
- Site Admin
- Posts: 42259
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: Include exe file as a resource (solved)
Very good!
Re: Include exe file as a resource (solved)
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces